struct
FenceFences are a synchronization primitive that can be used to insert a dependency from a queue to the host. Fences have two states - signaled and unsignaled.
Contents
Base classes
- struct VV::V1::Fence
- Fences are a synchronization primitive that can be used to insert a dependency from a queue to the host. Fences have two states - signaled and unsignaled.
Derived classes
- class VV::V3::Fence
- Fences are a synchronization primitive that can be used to insert a dependency from a queue to the host. Fences have two states - signaled and unsignaled.
Public types
Public static functions
-
static auto Create(LogicalDevice::
Handle _logicalDevice, const CreateInfo& _createInfo, Handle& _fence) -> EResult - Create a fence (Default Allocator).
-
static void Destroy(LogicalDevice::
Handle _logicalDevice, Handle _fence) - Destroy a fence (Default Allocator).
-
static auto Create(LogicalDevice::
Handle _logicalDevice, const CreateInfo& _createInfo, const Memory:: AllocationCallbacks* _allocator, Handle& _fence) -> EResult - Create a fence.
-
static void Destroy(LogicalDevice::
Handle _logicalDevice, Handle _fence, const Memory:: AllocationCallbacks* _allocator) - Destroy a fence.
-
static auto RegisterDeviceEvent(LogicalDevice::
Handle _device, const DeviceEventInfo& _deviceEventInfo, const Memory:: AllocationCallbacks* _allocator, Handle& _fence) -> EResult - Create a fence that will be signaled when an event occurs on a device.
-
static auto RegisterDisplayEvent(LogicalDevice::
Handle _device, Display:: Handle _display, const DisplayEventInfo& _displayEventInfo, const Memory:: AllocationCallbacks* _allocator, Handle& _fence) -> EResult - Create a fence that will be signaled when an event occurs on a Display object.
Function documentation
static EResult VV:: V2:: Fence:: Create(LogicalDevice:: Handle _logicalDevice,
const CreateInfo& _createInfo,
Handle& _fence)
Create a fence (Default Allocator).
Parameters | |
---|---|
_logicalDevice | |
_createInfo | |
_fence |
static void VV:: V2:: Fence:: Destroy(LogicalDevice:: Handle _logicalDevice,
Handle _fence)
Destroy a fence (Default Allocator).
Parameters | |
---|---|
_logicalDevice | |
_fence |
static EResult VV:: V2:: Fence:: Create(LogicalDevice:: Handle _logicalDevice,
const CreateInfo& _createInfo,
const Memory:: AllocationCallbacks* _allocator,
Handle& _fence)
Create a fence.
Parameters | |
---|---|
_logicalDevice | |
_createInfo | |
_allocator | |
_fence |
static void VV:: V2:: Fence:: Destroy(LogicalDevice:: Handle _logicalDevice,
Handle _fence,
const Memory:: AllocationCallbacks* _allocator)
Destroy a fence.
Parameters | |
---|---|
_logicalDevice | |
_fence | |
_allocator |
static EResult VV:: V2:: Fence:: RegisterDeviceEvent(LogicalDevice:: Handle _device,
const DeviceEventInfo& _deviceEventInfo,
const Memory:: AllocationCallbacks* _allocator,
Handle& _fence)
Create a fence that will be signaled when an event occurs on a device.
static EResult VV:: V2:: Fence:: RegisterDisplayEvent(LogicalDevice:: Handle _device,
Display:: Handle _display,
const DisplayEventInfo& _displayEventInfo,
const Memory:: AllocationCallbacks* _allocator,
Handle& _fence)
Create a fence that will be signaled when an event occurs on a Display object.