Bewerken

Delen via


D3D12DDI_STATE_OBJECT_FLAGS enumeration (d3d12umddi.h)

D3D12DDI_STATE_OBJECT_FLAGS specify constraints for state objects.

Syntax

typedef enum D3D12DDI_STATE_OBJECT_FLAGS {
  D3D12DDI_STATE_OBJECT_FLAG_NONE = 0x0,
  D3D12DDI_STATE_OBJECT_FLAG_ALLOW_LOCAL_DEPENDENCIES_ON_EXTERNAL_DEFINITIONS = 0x1,
  D3D12DDI_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS = 0x2,
  D3D12DDI_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4
} ;

Constants

 
D3D12DDI_STATE_OBJECT_FLAG_NONE
Value: 0x0
There are no state object constraints.
D3D12DDI_STATE_OBJECT_FLAG_ALLOW_LOCAL_DEPENDENCIES_ON_EXTERNAL_DEFINITIONS
Value: 0x1
Allows local dependencies on external definitions.
D3D12DDI_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS
Value: 0x2
Allows external dependencies on local definitions.
D3D12DDI_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS
Value: 0x4
Allows additions to state objects. Available starting with Windows 10, version 2004.

Remarks

See the DirectX Raytracing (DXR) functional specification for more information.

Requirements

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

See also

D3D12_STATE_OBJECT_CONFIG

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072