D3DWDDM2_0DDIARG_TEX2D_SHADERRESOURCEVIEW - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

typedef struct D3DWDDM2_0DDIARG_TEX2D_SHADERRESOURCEVIEW {
  UINT MostDetailedMip;
  UINT FirstArraySlice;
  UINT MipLevels;
  UINT ArraySize;
  UINT PlaneSlice;
  UINT PlaneIndex;
} D3DWDDM2_0DDIARG_TEX2D_SHADERRESOURCEVIEW;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

The D3DWDDM2_0DDIARG_TEX2D_SHADERRESOURCEVIEW structure describes a two-dimensional (2-D) texture that is used to create a shader resource view in a call to CreateShaderResourceView.

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.

PlaneSlice

[in] The identifier of the plane slice.

PlaneIndex

[in] The index (plane slice number) of the plane to use in the texture.

Remarks

If MipLevels is set to -1, the MIP-maps in the texture start from the MIP-map that is set in the MostDetailedMip member.

If ArraySize 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

D3DWDDM2_0DDIARG_CREATESHADERRESOURCEVIEW