> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_FENCE_FLAGS

> Specifies fence options. (D3D12_FENCE_FLAGS)

Specifies fence options.

## Syntax

```cpp theme={null}
typedef enum D3D12_FENCE_FLAGS
{
    D3D12_FENCE_FLAG_NONE = 0,
    D3D12_FENCE_FLAG_SHARED = 1,
    D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 2,
    D3D12_FENCE_FLAG_NON_MONITORED = 4
} D3D12_FENCE_FLAGS
```

## Constants

| Constant | Description |
| - | - |
| D3D12\_FENCE\_FLAG\_NONE | No options are specified. |
| D3D12\_FENCE\_FLAG\_SHARED | The fence is shared. |
| D3D12\_FENCE\_FLAG\_SHARED\_CROSS\_ADAPTER | The fence is shared with another GPU adapter. |
| D3D12\_FENCE\_FLAG\_NON\_MONITORED | 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](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createfence_public.md) method.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Enumerations](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

- [CreateFence](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createfence_public.md)
- [GetCreationFlags](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12fence1/methods/id3d12fence1_getcreationflags_public.md)
- [D3D12_MULTIPLE_FENCE_WAIT_FLAGS](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_multiple_fence_wait_flags_public.md)
- [ID3D12Fence](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12fence/id3d12fence_public.md)
- [ID3D12Fence::Signal](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12fence/methods/id3d12fence_signal_public.md)
