Bewerken

Delen via


D3D12DDI_RESOURCE_TYPE enumeration (d3d12umddi.h)

A D3D12DDI_RESOURCE_TYPE value specifies the type of a resource.

Syntax

typedef enum D3D12DDI_RESOURCE_TYPE {
  D3D12DDI_RT_BUFFER,
  D3D12DDI_RT_TEXTURE1D,
  D3D12DDI_RT_TEXTURE2D,
  D3D12DDI_RT_TEXTURE3D
} ;

Constants

 
D3D12DDI_RT_BUFFER
The resource is a buffer.
D3D12DDI_RT_TEXTURE1D
The resource is a 1D texture.
D3D12DDI_RT_TEXTURE2D
The resource is a 2D texture.
D3D12DDI_RT_TEXTURE3D
The resource is a 3D texture.

Requirements

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

See also

D3D12DDIARG_CREATERESOURCE_0088