Skip to content

KDGpu::VulkanGpuSemaphore

Module: Vulkan

VulkanGpuSemaphore.

#include <vulkan_gpu_semaphore.h>

Inherits from KDGpu::ApiGpuSemaphore

Public Functions

Name
VulkanGpuSemaphore(VkSemaphore _semaphore, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, const HandleOrFD & _externalSemaphoreHandle)
virtual HandleOrFD externalSemaphoreHandle() const

Public Attributes

Name
VkSemaphore semaphore
VulkanResourceManager * vulkanResourceManager
Handle< Device_t > deviceHandle
HandleOrFD m_externalSemaphoreHandle

Public Functions Documentation

function VulkanGpuSemaphore

1
2
3
4
5
6
explicit VulkanGpuSemaphore(
    VkSemaphore _semaphore,
    VulkanResourceManager * _vulkanResourceManager,
    const Handle< Device_t > & _deviceHandle,
    const HandleOrFD & _externalSemaphoreHandle
)

function externalSemaphoreHandle

1
virtual HandleOrFD externalSemaphoreHandle() const

Reimplements: KDGpu::ApiGpuSemaphore::externalSemaphoreHandle

Public Attributes Documentation

variable semaphore

1
VkSemaphore semaphore { VK_NULL_HANDLE };

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager { nullptr };

variable deviceHandle

1
Handle< Device_t > deviceHandle;

variable m_externalSemaphoreHandle

1
HandleOrFD m_externalSemaphoreHandle {};

Updated on 2024-11-25 at 00:15:04 +0000