VV::V2::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.

Base classes

struct VV::V1::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.

Derived classes

class VV::V3::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

using Parent = V1::Event

Public static functions

static auto Create(LogicalDevice::Handle _device, const Event::CreateInfo& _createInfo, Handle& _event) -> EResult
Create an event (Default Allocator).
static void Destroy(LogicalDevice::Handle _device, Handle _event)
Destroy an event (Default Allocator).
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.

Function documentation

static EResult VV::V2::Event::Create(LogicalDevice::Handle _device, const Event::CreateInfo& _createInfo, Handle& _event)

Create an event (Default Allocator).

Parameters
_device
_createInfo
_event

static void VV::V2::Event::Destroy(LogicalDevice::Handle _device, Handle _event)

Destroy an event (Default Allocator).

Parameters
_device
_event

static EResult VV::V2::Event::Create(LogicalDevice::Handle _device, const Event::CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _event)

Create an Event.

Parameters
_device
_createInfo
_allocator
_event

Specification

static void VV::V2::Event::Destroy(LogicalDevice::Handle _device, Handle _event, const Memory::AllocationCallbacks* _allocator)

Destroy an event.

Parameters
_device
_event
_allocator

Specification