} D3D11_DEPTH_STENCIL_VIEW_DESC;
2、typedef
enum D3D11_DSV_DIMENSION
{ D3D11_DSV_DIMENSION_UNKNOWN = 0,
D3D11_DSV_DIMENSION_TEXTURE1D = 1,
D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2,
D3D11_DSV_DIMENSION_TEXTURE2D = 3,
D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4,
D3D11_DSV_DIMENSION_TEXTURE2DMS = 5,
D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
} D3D11_DSV_DIMENSION;
3、typedef struct D3D11_TEX1D_DSV
{
UINT MipSlice;
} D3D11_TEX1D_DSV;
4、typedef struct D3D11_TEX1D_ARRAY_DSV
{
UINT MipSlice;
UINT FirstArraySlice;
UINT ArraySize;
} D3D11_TEX1D_ARRAY_DSV;
5、typedef struct D3D11_TEX2D_DSV
{
UINT MipSlice;
} D3D11_TEX2D_DSV;
6、typedef struct D3D11_TEX2D_ARRAY_DSV
{
UINT MipSlice;
UINT FirstArraySlice;
UINT ArraySize;
} D3D11_TEX2D_ARRAY_DSV;
7、typedef struct D3D11_TEX2DMS_DSV
{
UINT UnusedField_NothingToDefine;
} D3D11_TEX2DMS_DSV;
8、typedef struct D3D11_TEX2DMS_ARRAY_DSV
{
UINT FirstArraySlice;
UINT ArraySize;
} D3D11_TEX2DMS_ARRAY_DSV;