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

# D3D12_MULTIPLE_FENCE_WAIT_FLAGS

> Specifies multiple wait flags for multiple fences.

Specifies multiple wait flags for multiple fences.

## Syntax

```cpp theme={null}
typedef enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS
{
    D3D12_MULTIPLE_FENCE_WAIT_FLAG_NONE = 0,
    D3D12_MULTIPLE_FENCE_WAIT_FLAG_ANY = 1,
    D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0
} D3D12_MULTIPLE_FENCE_WAIT_FLAGS
```

## Constants

| Constant                                 | Description                                                                                                                                    |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_MULTIPLE\_FENCE\_WAIT\_FLAG\_NONE | No flags are being passed. This means to use the default behavior, which is to wait for all fences before signaling the event.                 |
| D3D12\_MULTIPLE\_FENCE\_WAIT\_FLAG\_ANY  | Modifies behavior to indicate that the event should be signaled after any one of the fence values has been reached by its corresponding fence. |
| D3D12\_MULTIPLE\_FENCE\_WAIT\_FLAG\_ALL  | An alias for **D3D12\_MULTIPLE\_FENCE\_WAIT\_FLAG\_NONE**, meaning to use the default behavior and wait for all fences.                        |

## Remarks

This enum is used by the [SetEventOnMultipleFenceCompletion](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_seteventonmultiplefencecompletion_public) 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)

[Root Signature Version 1.1](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/root-signature-version-1-1)


## Related topics

- [SetEventOnMultipleFenceCompletion](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_seteventonmultiplefencecompletion_public.md)
- [D3D12_FENCE_FLAGS](/reference/graphics/d3d12/enums/d3d12_fence_flags_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_FLAGS](/reference/graphics/d3d12/enums/d3d12_protected_resource_session_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_DSV_FLAGS](/reference/graphics/d3d12/enums/d3d12_dsv_flags_public.md)
