Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 4.17 KB

nf-d3d10-id3d10device-createdepthstencilview.md

File metadata and controls

90 lines (68 loc) · 4.17 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d10.ID3D10Device.CreateDepthStencilView
ID3D10Device::CreateDepthStencilView (d3d10.h)
Create a depth-stencil view for accessing resource data. (ID3D10Device.CreateDepthStencilView)
CreateDepthStencilView
CreateDepthStencilView method [Direct3D 10]
CreateDepthStencilView method [Direct3D 10]
ID3D10Device interface
ID3D10Device interface [Direct3D 10]
CreateDepthStencilView method
ID3D10Device.CreateDepthStencilView
ID3D10Device::CreateDepthStencilView
d3d10/ID3D10Device::CreateDepthStencilView
direct3d10.id3d10device_createdepthstencilview
f7b0585b-710f-b4d1-e65f-c30b57116c09
direct3d10\id3d10device_createdepthstencilview.htm
direct3d10
VS|directx_sdk|~\id3d10device_createdepthstencilview.htm
12/05/2018
CreateDepthStencilView, CreateDepthStencilView method [Direct3D 10], CreateDepthStencilView method [Direct3D 10],ID3D10Device interface, ID3D10Device interface [Direct3D 10],CreateDepthStencilView method, ID3D10Device.CreateDepthStencilView, ID3D10Device::CreateDepthStencilView, d3d10/ID3D10Device::CreateDepthStencilView, direct3d10.id3d10device_createdepthstencilview, f7b0585b-710f-b4d1-e65f-c30b57116c09
d3d10.h
Windows
D3D10.lib
Windows
19H1
ID3D10Device::CreateDepthStencilView
d3d10/ID3D10Device::CreateDepthStencilView
c++
APIRef
kbSyntax
COM
D3D10.lib
D3D10.dll
ID3D10Device.CreateDepthStencilView

ID3D10Device::CreateDepthStencilView

-description

Create a depth-stencil view for accessing resource data.

-parameters

-param pResource [in]

Type: ID3D10Resource*

Pointer to the resource that will serve as the depth-stencil surface. This resource must have been created with the D3D10_BIND_DEPTH_STENCIL flag.

-param pDesc [in]

Type: const D3D10_DEPTH_STENCIL_VIEW_DESC*

Pointer to a depth-stencil-view description (see D3D10_DEPTH_STENCIL_VIEW_DESC). Set this parameter to NULL to create a view that accesses mipmap level 0 of the entire resource (using the format the resource was created with).

-param ppDepthStencilView [out]

Type: ID3D10DepthStencilView**

Address of a pointer to an ID3D10DepthStencilView. Set this parameter to NULL to validate the other input parameters (the method will return S_FALSE if the other input parameters pass validation).

-returns

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

-remarks

A depth-stencil view can be bound to the output-merger stage by calling ID3D10Device::OMSetRenderTargets.

For more background information, see the programming guide page about depth stencils.

-see-also

ID3D10Device Interface