Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.41 KB

nc-d3d12umddi-pfnd3d12ddi_createdepthstencilstate_0003.md

File metadata and controls

83 lines (64 loc) · 2.41 KB
UID title description ms.date keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos tech.root ms.custom f1_keywords topic_type api_type api_location api_name dev_langs
NC:d3d12umddi.PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003
PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 (d3d12umddi.h)
The PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 callback function creates a depth stencil state.
10/19/2018
PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 callback function
d3d12umddi.h
Windows 10, version 1809
Windows
display
RS5
PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003
d3d12umddi/PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003
apiref
UserDefined
d3d12umddi.h
PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003
c++

PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 callback function

-description

The PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 callback function creates a depth stencil state.

-parameters

-param unnamedParam1

A handle to the display device (graphics context).

-param unnamedParam2

A pointer to a D3D12DDI_DEPTH_STENCIL_DESC structure that describes the parameters that the user-mode display driver uses to create a depth stencil state.

-param unnamedParam3

A handle to the driver's private data for the depth stencil state. The driver returns the size, in bytes, of the memory region that the Microsoft Direct3D runtime must allocate for the private data from a call to the driver's CalcPrivateDepthStencilStateSize function. The handle is really just a pointer to a region of memory, the size of which the driver requested. The driver uses this region of memory to store internal data structures that are related to its depth stencil state object.

-prototype

//Declaration

PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0003 Pfnd3d12ddiCreatedepthstencilstate0003; 

// Definition

VOID Pfnd3d12ddiCreatedepthstencilstate0003 
(
	D3D12DDI_HDEVICE hDevice
	CONST D3D12DDI_DEPTH_STENCIL_DESC *pDepthStencilDesc
	D3D12DDI_HDEPTHSTENCILSTATE hDepthStencilState
)
{...}

-see-also