Skip to content

KDGpu::VulkanFence

Module: Vulkan

VulkanFence.

#include <vulkan_fence.h>

Inherits from KDGpu::ApiFence

Public Functions

Name
VulkanFence(VkFence _fence, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, const HandleOrFD & _externalFenceHandle)
virtual void wait()
virtual void reset()
virtual FenceStatus status()
virtual 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
virtual void wait()

Reimplements: KDGpu::ApiFence::wait

function reset

1
virtual void reset()

Reimplements: KDGpu::ApiFence::reset

function status

1
virtual FenceStatus status()

Reimplements: KDGpu::ApiFence::status

function externalFenceHandle

1
virtual HandleOrFD externalFenceHandle() const

Reimplements: KDGpu::ApiFence::externalFenceHandle

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-11-25 at 00:15:04 +0000