Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_TEX3D_SRV structure

Specifies the subresources from a 3D texture to use in a shader-resource view.

Syntax


typedef struct D3D11_TEX3D_SRV {
  UINT MostDetailedMip;
  UINT MipLevels;
} D3D11_TEX3D_SRV;

Members

MostDetailedMip

Type: UINT

Index of the most detailed mipmap level to use; this number is between 0 and MipLevels (from the original Texture3D for which ID3D11Device::CreateShaderResourceView creates a view) -1.

MipLevels

Type: UINT

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.

Remarks

This structure is one member of a shader-resource-view description (see D3D11_SHADER_RESOURCE_VIEW_DESC).

Requirements

Header

D3D11.h

See also

Resource Structures

 

 

Show:
© 2017 Microsoft