D3D12_DSV_DIMENSION enumeration (d3d12.h)
Specifies how to access a resource used in a depth-stencil view.
Syntax
typedef enum D3D12_DSV_DIMENSION {
D3D12_DSV_DIMENSION_UNKNOWN = 0,
D3D12_DSV_DIMENSION_TEXTURE1D = 1,
D3D12_DSV_DIMENSION_TEXTURE1DARRAY = 2,
D3D12_DSV_DIMENSION_TEXTURE2D = 3,
D3D12_DSV_DIMENSION_TEXTURE2DARRAY = 4,
D3D12_DSV_DIMENSION_TEXTURE2DMS = 5,
D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
} ;
Constants
D3D12_DSV_DIMENSION_UNKNOWN Value: 0 D3D12_DSV_DIMENSION_UNKNOWN is not a valid value for D3D12_DEPTH_STENCIL_VIEW_DESC and is not used. |
D3D12_DSV_DIMENSION_TEXTURE1D Value: 1 The resource will be accessed as a 1D texture. |
D3D12_DSV_DIMENSION_TEXTURE1DARRAY Value: 2 The resource will be accessed as an array of 1D textures. |
D3D12_DSV_DIMENSION_TEXTURE2D Value: 3 The resource will be accessed as a 2D texture. |
D3D12_DSV_DIMENSION_TEXTURE2DARRAY Value: 4 The resource will be accessed as an array of 2D textures. |
D3D12_DSV_DIMENSION_TEXTURE2DMS Value: 5 The resource will be accessed as a 2D texture with multi sampling. |
D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY Value: 6 The resource will be accessed as an array of 2D textures with multi sampling. |
Remarks
Specify one of the values in this enumeration in the ViewDimension member of a D3D12_DEPTH_STENCIL_VIEW_DESC structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |