D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW structure (d3d12umddi.h)
Arguments used to create a depth stencil view.
Syntax
typedef struct D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW {
D3D12DDI_HRESOURCE hDrvResource;
DXGI_FORMAT Format;
D3D12DDI_RESOURCE_DIMENSION ResourceDimension;
D3D12DDI_CREATE_DEPTH_STENCIL_VIEW_FLAGS Flags;
union {
D3D12DDIARG_TEX1D_DEPTH_STENCIL_VIEW Tex1D;
D3D12DDIARG_TEX2D_DEPTH_STENCIL_VIEW Tex2D;
D3D12DDIARG_TEXCUBE_DEPTH_STENCIL_VIEW TexCube;
};
} D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW;
Members
hDrvResource
A handle to the display driver resource.
Format
A DXGI_FORMAT-typed value that indicates the pixel format of the depth stencil view.
ResourceDimension
A D3D12DDI_RESOURCE_DIMENSION value that indicates the resource type and dimensionality of the base resource
Flags
A D3D12DDI_CREATE_DEPTH_STENCIL_VIEW_FLAGS flag.
Tex1D
If the value in the ResourceDimension member is set to D3D12DDI_RD_TEXTURE1D, a member in the union that is contained in D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW that can hold a D3D12DDIARG_TEX1D_DEPTH_STENCIL_VIEW structure for a one-dimensional texture
Tex2D
If the value in the ResourceDimension member is set to D3D12DDI_RD_TEXTURE2D, a member in the union that is contained in D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW that can hold a D3D12DDIARG_TEX2D_DEPTH_STENCIL_VIEW structure for a two-dimensional texture
TexCube
If the value in the ResourceDimension member is set to D3D12DDI_RD_TEXTURECUBE, a member in the union that is contained in D3D12DDIARG_CREATE_DEPTH_STENCIL_VIEW that can hold a D3D12DDIARG_TEXCUBE_DEPTH_STENCIL_VIEW structure for a cube texture
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Header | d3d12umddi.h |