Skip to main content
Describes a resource, such as a texture, including a mip region. This structure is used in several methods.

Syntax

Members

Dimension
Type: D3D12_RESOURCE_DIMENSION
One member of D3D12_RESOURCE_DIMENSION, specifying the dimensions of the resource (for example, D3D12_RESOURCE_DIMENSION_TEXTURE1D), or whether it is a buffer ((D3D12_RESOURCE_DIMENSION_BUFFER). Alignment
Type: UINT64
Specifies the alignment. Width
Type: UINT64
Specifies the width of the resource. Height
Type: UINT
Specifies the height of the resource. DepthOrArraySize
Type: UINT16
Specifies the depth of the resource, if it is 3D, or the array size if it is an array of 1D or 2D resources. MipLevels
Type: UINT16
Specifies the number of MIP levels. Format
Type: DXGI_FORMAT
Specifies one member of DXGI_FORMAT. SampleDesc
Type: DXGI_SAMPLE_DESC
Specifies a DXGI_SAMPLE_DESC structure. Layout
Type: D3D12_TEXTURE_LAYOUT
Specifies one member of D3D12_TEXTURE_LAYOUT. Flags
Type: D3D12_RESOURCE_FLAGS
Bitwise-OR’d flags, as D3D12_RESOURCE_FLAGS enumeration constants. SamplerFeedbackMipRegion
Type: D3D12_MIP_REGION
A D3D12_MIP_REGION struct.

Remarks

For remarks, see D3D12_RESOURCE_DESC1.

Requirements

Header: d3d12_x.h
Library: d3d12_x.lib
Supported Platforms: XBOX One family

See Also

Last modified on August 20, 2026