PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0010 callback function (d3d12umddi.h)

The PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0010 callback function creates a depth stencil state.

Syntax

PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0010 Pfnd3d12ddiCreatedepthstencilstate0010;

void Pfnd3d12ddiCreatedepthstencilstate0010(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDI_DEPTH_STENCIL_DESC_0010 *unnamedParam2,
  D3D12DDI_HDEPTHSTENCILSTATE unnamedParam3
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

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

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.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h