D3D12_FENCE_FLAGS enumeration (d3d12.h)

Specifies fence options.

Syntax

typedef enum D3D12_FENCE_FLAGS {
  D3D12_FENCE_FLAG_NONE = 0,
  D3D12_FENCE_FLAG_SHARED = 0x1,
  D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2,
  D3D12_FENCE_FLAG_NON_MONITORED = 0x4
} ;

Constants

 
D3D12_FENCE_FLAG_NONE
Value: 0
No options are specified.
D3D12_FENCE_FLAG_SHARED
Value: 0x1
The fence is shared.
D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER
Value: 0x2
The fence is shared with another GPU adapter.
D3D12_FENCE_FLAG_NON_MONITORED
Value: 0x4
The fence is of the non-monitored type. Non-monitored fences should only be used when the adapter doesn't support monitored fences, or when a fence is shared with an adapter that doesn't support monitored fences.

Remarks

This enum is used by the ID3D12Device::CreateFence method.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations