D3D12_RESOURCE_DIMENSION Enumeration

Identifies the type of resource being used.

Syntax

typedef enum D3D12_RESOURCE_DIMENSION {
  D3D12_RESOURCE_DIMENSION_UNKNOWN,
  D3D12_RESOURCE_DIMENSION_BUFFER,
  D3D12_RESOURCE_DIMENSION_TEXTURE1D,
  D3D12_RESOURCE_DIMENSION_TEXTURE2D,
  D3D12_RESOURCE_DIMENSION_TEXTURE3D
} ;

Constants

D3D12_RESOURCE_DIMENSION_UNKNOWN Resource is of unknown type.
D3D12_RESOURCE_DIMENSION_BUFFER Resource is a buffer.
D3D12_RESOURCE_DIMENSION_TEXTURE1D Resource is a 1D texture.
D3D12_RESOURCE_DIMENSION_TEXTURE2D Resource is a 2D texture.
D3D12_RESOURCE_DIMENSION_TEXTURE3D Resource is a 3D texture.

Remarks

This enum is used by the D3D12_RESOURCE_DESC structure.

Requirements

   
Header d3d12.h

See Also

CD3DX12_RESOURCE_DESC

Core Enumerations