Enum anira_sync_kind#

enum anira_sync_kind#

The kind of fence an anira_sync_token carries; NONE means the data is already visible.

Values:

enumerator ANIRA_SYNC_NONE#

No fence: the data is visible.

enumerator ANIRA_SYNC_QUEUE_ORDERED#

Complete when the producing queue reaches it; a same-queue consumer waits for nothing.

enumerator ANIRA_SYNC_CUDA_EVENT#

A cudaEvent_t.

enumerator ANIRA_SYNC_VK_TIMELINE#

A Vulkan timeline semaphore plus value.

enumerator ANIRA_SYNC_GL_SYNC#

A GLsync.

enumerator ANIRA_SYNC_SYNC_FILE_FD#

A sync_file fd (dma-buf / AHardwareBuffer world); owned by the token.

enumerator ANIRA_SYNC_OPAQUE_FD_SEMAPHORE#

A Vulkan semaphore exported OPAQUE_FD, the only fence CUDA imports; owned by the token.

enumerator ANIRA_SYNC_MTL_SHARED_EVENT#

An id<MTLSharedEvent> plus value.

enumerator ANIRA_SYNC_D3D12_FENCE#

An ID3D12Fence* plus value.

enumerator ANIRA_SYNC_KIND_FORCE32#