struct
SemaphoreSemaphores are a synchronization primitive that can be used to insert a dependency between queue operations or between a queue operation and the host. Binary semaphores have two states - signaled and unsignaled.
Contents
Base classes
- struct VV::V1::Semaphore
- Semaphores are a synchronization primitive that can be used to insert a dependency between queue operations or between a queue operation and the host. Binary semaphores have two states - signaled and unsignaled.
Derived classes
- class VV::V3::Semaphore
- Semaphores are a synchronization primitive that can be used to insert a dependency between queue operations or between a queue operation and the host. Binary semaphores have two states - signaled and unsignaled.
Public types
-
using Parent = V1::
Semaphore
Public static functions
-
static auto Create(LogicalDevice::
Handle _device, const CreateInfo& _createInfo, Handle& _semaphore) -> EResult - Create a semaphore (Default Allocator).
-
static void Destroy(LogicalDevice::
Handle _device, Handle _semaphore) - Destroy a semaphore (Default Allocator).
-
static auto Create(LogicalDevice::
Handle _device, const CreateInfo& _createInfo, const Memory:: AllocationCallbacks* _allocator, Handle& _semaphore) -> EResult - Create a semaphore.
-
static void Destroy(LogicalDevice::
Handle _device, Handle _semaphore, const Memory:: AllocationCallbacks* _allocator) - Destroy a semaphore.
Function documentation
static EResult VV:: V2:: Semaphore:: Create(LogicalDevice:: Handle _device,
const CreateInfo& _createInfo,
const Memory:: AllocationCallbacks* _allocator,
Handle& _semaphore)
Create a semaphore.
static void VV:: V2:: Semaphore:: Destroy(LogicalDevice:: Handle _device,
Handle _semaphore,
const Memory:: AllocationCallbacks* _allocator)
Destroy a semaphore.
Parameters | |
---|---|
_device | |
_semaphore | |
_allocator |