PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 callback function

The pfnClearDepthStencilView function clears the specified currently bound depth-stencil view.

Syntax

PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 Pfnd3d12ddiClearDepthStencilView0003;

void Pfnd3d12ddiClearDepthStencilView0003(
  D3D12DDI_HCOMMANDLIST Arg1,
  D3D12DDI_CPU_DESCRIPTOR_HANDLE ViewCPUHandle,
  UINT Arg3,
  FLOAT Arg4,
  UINT8 Arg5,
  UINT NumRects,
  const D3D12DDI_RECT *pRects
)
{...}

Parameters

Arg1

A handle to the driver's data for the command list. The driver uses this region of memory to store internal data structures that are related to its command list.

ViewCPUHandle

Type: D3D12DDI_CPU_DESCRIPTOR_HANDLE

Describes the CPU descriptor handle that represents the start of the heap for the depth stencil view to clear.

Arg3

A value that specifies which parts of the buffer to affect.

Arg4

An unsigned 8-bit integer value to set the stencil to.

Arg5

NumRects

The number of rectangles in the array that the pRects parameter specifies.

pRects

An array of D3D12DDI_RECT structures for the rectangles in the resource view to clear.

Return Value

Returns VOID.

Requirements

   
Minimum supported client Windows 10
Header d3d12umddi.h