Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Specifies how to access a resource used in a depth-stencil view.
Syntax
typedef enum D3D10_DSV_DIMENSION {
D3D10_DSV_DIMENSION_UNKNOWN = 0,
D3D10_DSV_DIMENSION_TEXTURE1D = 1,
D3D10_DSV_DIMENSION_TEXTURE1DARRAY = 2,
D3D10_DSV_DIMENSION_TEXTURE2D = 3,
D3D10_DSV_DIMENSION_TEXTURE2DARRAY = 4,
D3D10_DSV_DIMENSION_TEXTURE2DMS = 5,
D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
} ;
Constants
D3D10_DSV_DIMENSION_UNKNOWNValue: 0 The resource will be accessed according to its type as determined from the actual instance this enumeration is paired with when the depth-stencil view is created. |
D3D10_DSV_DIMENSION_TEXTURE1DValue: 1 The resource will be accessed as a 1D texture. |
D3D10_DSV_DIMENSION_TEXTURE1DARRAYValue: 2 The resource will be accessed as an array of 1D textures. |
D3D10_DSV_DIMENSION_TEXTURE2DValue: 3 The resource will be accessed as a 2D texture. |
D3D10_DSV_DIMENSION_TEXTURE2DARRAYValue: 4 The resource will be accessed as an array of 2D texture. |
D3D10_DSV_DIMENSION_TEXTURE2DMSValue: 5 The resource will be accessed as a 2D texture with multisampling. |
D3D10_DSV_DIMENSION_TEXTURE2DMSARRAYValue: 6 The resource will be accessed as an array of 2D textures with multisampling. |
Remarks
This enumeration is used in D3D10_DEPTH_STENCIL_VIEW_DESC to create a depth-stencil view.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d10.h |