Skip to content

KDGpu::VulkanFence

Module: Vulkan

VulkanFence.

#include <vulkan_fence.h>

Public Functions

Name
VulkanFence(VkFence _fence, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, const HandleOrFD & _externalFenceHandle)
void wait()
void reset()
FenceStatus status()
HandleOrFD externalFenceHandle() const

Public Attributes

Name
VkFence fence
VulkanResourceManager * vulkanResourceManager
Handle< Device_t > deviceHandle
HandleOrFD m_externalFenceHandle

Public Functions Documentation

function VulkanFence

1
2
3
4
5
6
explicit VulkanFence(
    VkFence _fence,
    VulkanResourceManager * _vulkanResourceManager,
    const Handle< Device_t > & _deviceHandle,
    const HandleOrFD & _externalFenceHandle
)

function wait

1
void wait()

function reset

1
void reset()

function status

1
FenceStatus status()

function externalFenceHandle

1
HandleOrFD externalFenceHandle() const

Public Attributes Documentation

variable fence

1
VkFence fence { VK_NULL_HANDLE };

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager { nullptr };

variable deviceHandle

1
Handle< Device_t > deviceHandle;

variable m_externalFenceHandle

1
HandleOrFD m_externalFenceHandle {};

Updated on 2024-12-22 at 00:01:23 +0000