D3D12DDI_RESOURCE_OPTIMIZATION_FLAGS enumeration (d3d12umddi.h)

The D3D12DDI_RESOURCE_OPTIMIZATION_FLAGS enumeration is a bitwise OR value that defines a resource's optimization flags.

Syntax

typedef enum D3D12DDI_RESOURCE_OPTIMIZATION_FLAGS {
  D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_NONE = 0x0,
  D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_SHADER_RESOURCE = 0x1,
  D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_UNORDERED_ACCESS = 0x2,
  D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_PRIMARY = 0x4,
  D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_DETERMINISTIC = 0x8
} ;

Constants

 
D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_NONE
Value: 0x0
No options are specified.
D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_SHADER_RESOURCE
Value: 0x1
Perform shader resource optimizations.
D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_UNORDERED_ACCESS
Value: 0x2
Perform unordered access view optimizations.
D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_PRIMARY
Value: 0x4
Perform primary heap optimizations.
D3D12DDI_RESOURCE_OPTIMIZATION_FLAG_DETERMINISTIC
Value: 0x8
Perform deterministic optimizations.

Requirements

Requirement Value
Header d3d12umddi.h

See also

D3D12_RESOURCE_FLAGS

PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0088