Bewerken

Delen via


D3D12DDIARG_TEX2D_SHADER_RESOURCE_VIEW_0002 structure (d3d12umddi.h)

Describes a two-dimensional (2-D) texture that is used to create a shader resource view.

Syntax

typedef struct D3D12DDIARG_TEX2D_SHADER_RESOURCE_VIEW_0002 {
  UINT  MostDetailedMip;
  UINT  FirstArraySlice;
  UINT  MipLevels;
  UINT  ArraySize;
  UINT  PlaneSlice;
  FLOAT ResourceMinLODClamp;
} D3D12DDIARG_TEX2D_SHADER_RESOURCE_VIEW_0002;

Members

MostDetailedMip

The identifier of the most detailed MIP-map.

FirstArraySlice

The identifier of the first array slice.

MipLevels

The number of MIP-map levels for the texture.

ArraySize

The number of array slices for the texture.

PlaneSlice

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

ResourceMinLODClamp

A value to clamp sample LOD values to. For example, if you specify 2.0f for the clamp value, you ensure that no individual sample accesses a mip level less than 2.0f.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h