Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NONEValue: 0 No options are specified. |
D3D12_FENCE_FLAG_SHAREDValue: 0x1 The fence is shared. |
D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTERValue: 0x2 The fence is shared with another GPU adapter. |
D3D12_FENCE_FLAG_NON_MONITOREDValue: 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 |