Skip to content

Latest commit

 

History

History
102 lines (74 loc) · 2.3 KB

nc-d3d12umddi-pfnd3d12ddi_clear_depth_stencil_view_0003.md

File metadata and controls

102 lines (74 loc) · 2.3 KB
UID title description tech.root 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 f1_keywords topic_type api_type api_location api_name
NC:d3d12umddi.PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003
PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 (d3d12umddi.h)
The pfnClearDepthStencilView function clears the specified currently bound depth-stencil view.
display
11/28/2018
PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 callback function
d3d12umddi.h
Windows 10
Windows
PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003
d3d12umddi/PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003
apiref
UserDefined
d3d12umddi.h
PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003

PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 callback function

-description

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

-parameters

-param unnamedParam1

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.

-param 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.

-param unnamedParam3

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

-param unnamedParam4

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

-param unnamedParam5

-param NumRects

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

-param pRects

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

-prototype

//Declaration

PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003 Pfnd3d12ddiClearDepthStencilView0003; 

// Definition

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

-remarks

-see-also