D3D11_DEPTH_STENCIL_VIEW_DESC。。。。。。

1、typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC
    {
    DXGI_FORMAT Format;
    D3D11_DSV_DIMENSION ViewDimension;
    UINT Flags;
    union 
        {
        D3D11_TEX1D_DSV Texture1D;
        D3D11_TEX1D_ARRAY_DSV Texture1DArray;
        D3D11_TEX2D_DSV Texture2D;
        D3D11_TEX2D_ARRAY_DSV Texture2DArray;
        D3D11_TEX2DMS_DSV Texture2DMS;
        D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray;
        } ;

    } 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;

你可能感兴趣的:(D3D11)