D3D10DDIARG_TEX2D_SHADERRESOURCEVIEW - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3d10ddiarg_tex2d_shaderresourceview)

D3D10DDIARG_TEX2D_SHADERRESOURCEVIEW structure

Description

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.

Members

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.

Remarks

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.

See also

CalcPrivateShaderResourceViewSize

CreateShaderResourceView

D3D10DDIARG_CREATESHADERRESOURCEVIEW