PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0025 callback function

The PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0025 callback function creates a depth stencil state.

Syntax

PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0025 Pfnd3d12ddiCreatedepthstencilstate0025;

void Pfnd3d12ddiCreatedepthstencilstate0025(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDI_DEPTH_STENCIL_DESC_0025 *Arg2,
  D3D12DDI_HDEPTHSTENCILSTATE Arg3
)
{...}

Parameters

Arg1

A handle to the display device (graphics context).

Arg2

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

Arg3

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

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