Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Identifies the type of resource being used.
Syntax
typedef enum D3D12_RESOURCE_DIMENSION {
D3D12_RESOURCE_DIMENSION_UNKNOWN = 0,
D3D12_RESOURCE_DIMENSION_BUFFER = 1,
D3D12_RESOURCE_DIMENSION_TEXTURE1D = 2,
D3D12_RESOURCE_DIMENSION_TEXTURE2D = 3,
D3D12_RESOURCE_DIMENSION_TEXTURE3D = 4
} ;
Constants
D3D12_RESOURCE_DIMENSION_UNKNOWNValue: 0 Resource is of unknown type. |
D3D12_RESOURCE_DIMENSION_BUFFERValue: 1 Resource is a buffer. |
D3D12_RESOURCE_DIMENSION_TEXTURE1DValue: 2 Resource is a 1D texture. |
D3D12_RESOURCE_DIMENSION_TEXTURE2DValue: 3 Resource is a 2D texture. |
D3D12_RESOURCE_DIMENSION_TEXTURE3DValue: 4 Resource is a 3D texture. |
Remarks
This enum is used by the D3D12_RESOURCE_DESC structure.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |