D3D11_TEX2D_SRV1 structure (d3d11_3.h)
Describes the subresource from a 2D texture to use in a shader-resource view.
Syntax
typedef struct D3D11_TEX2D_SRV1 {
UINT MostDetailedMip;
UINT MipLevels;
UINT PlaneSlice;
} D3D11_TEX2D_SRV1;
Members
MostDetailedMip
Index of the most detailed mipmap level to use; this number is between 0 and (MipLevels (from the original Texture2D for which ID3D11Device3::CreateShaderResourceView1 creates a view) - 1 ).
MipLevels
The maximum number of mipmap levels for the view of the texture. See the remarks in D3D11_TEX1D_SRV.
Set to -1 to indicate all the mipmap levels from MostDetailedMip on down to least detailed.
PlaneSlice
The index (plane slice number) of the plane to use in the texture.
Requirements
Requirement | Value |
---|---|
Header | d3d11_3.h |