VV::V1::Event struct

Events are a synchronization primitive that can be used to insert a fine-grained dependency between commands submitted to the same queue, or between the host and a queue. Events must not be used to insert a dependency between commands submitted to different queues. Events have two states - signaled and unsignaled.

Specification

Derived classes

struct VV::V2::Event
Events are a synchronization primitive that can be used to insert a fine-grained dependency between commands submitted to the same queue, or between the host and a queue. Events must not be used to insert a dependency between commands submitted to different queues. Events have two states - signaled and unsignaled.

Public types

struct CreateInfo
Specification
using Handle = VkEvent
Specification
using CreateFlags = Bitfield<EUndefined, VkEventCreateFlags>
Reserved for future use.

Public static functions

static auto Create(LogicalDevice::Handle _device, const Event::CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _event) -> EResult
Create an Event.
static void Destroy(LogicalDevice::Handle _device, Handle _event, const Memory::AllocationCallbacks* _allocator)
Destroy an event.
static auto GetStatus(LogicalDevice::Handle _device, Handle _event) -> EResult
Query the state of an event from the host.
static auto Reset(LogicalDevice::Handle _device, Handle _event) -> EResult
Set the state of an event to unsignaled from the host.