// d3d10umddi.h
typedef struct D3D10DDIARG_TEX2D_SHADERRESOURCEVIEW {
[in] UINT MostDetailedMip;
[in] UINT FirstArraySlice;
[in] UINT MipLevels;
[in] UINT ArraySize;
} D3D10DDIARG_TEX2D_SHADERRESOURCEVIEW;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D10DDIARG_TEX2D_SHADERRESOURCEVIEW structure describes a two-dimensional (2-D) texture that is used to create a shader resource view in a call to the CreateShaderResourceView function.
MostDetailedMip [in]The identifier of the most detailed MIP-map.
FirstArraySlice [in]The identifier of the first array slice.
MipLevels [in]The number of MIP-map levels for the texture.
ArraySize [in]The number of array slices for the texture.
If the MipLevels member is set to -1, the MIP-maps in the texture start from the MIP-map that is set in the MostDetailedMip member.
If the ArraySize member is set to -1, the array slices in the texture start from the array slice that is set in FirstArraySlice member.
CalcPrivateShaderResourceViewSize
D3D10DDIARG_CREATESHADERRESOURCEVIEW