// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Arguments used to create a depth stencil view.
hDrvResourceA handle to the display driver resource.
FormatA DXGI_FORMAT-typed value that indicates the pixel format of the depth stencil view.
ResourceDimensionA D3D12DDI_RESOURCE_DIMENSION value that indicates the resource type and dimensionality of the base resource
FlagsA D3D12DDI_CREATE_DEPTH_STENCIL_VIEW_FLAGS flag.
Tex1DIf 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
Tex2DIf 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
TexCubeIf 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