The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
D3D11_RESOURCE_DIMENSION enumeration
Identifies the type of resource being used.
Syntax
typedef enum D3D11_RESOURCE_DIMENSION { D3D11_RESOURCE_DIMENSION_UNKNOWN = 0, D3D11_RESOURCE_DIMENSION_BUFFER = 1, D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2, D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3, D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4 } D3D11_RESOURCE_DIMENSION;
Constants
- D3D11_RESOURCE_DIMENSION_UNKNOWN
-
Resource is of unknown type.
- D3D11_RESOURCE_DIMENSION_BUFFER
-
Resource is a buffer.
- D3D11_RESOURCE_DIMENSION_TEXTURE1D
-
Resource is a 1D texture.
- D3D11_RESOURCE_DIMENSION_TEXTURE2D
-
Resource is a 2D texture.
- D3D11_RESOURCE_DIMENSION_TEXTURE3D
-
Resource is a 3D texture.
Remarks
This enumeration is used in ID3D11Resource::GetType.
Requirements
|
Header |
|
|---|
See also
Show: