Skip to content

KDGpu::VulkanQueue

Module: Vulkan

VulkanQueue.

#include <vulkan_queue.h>

Public Functions

Name
VulkanQueue(VkQueue _queue, VulkanResourceManager * _vulkanResourceManager)
void waitUntilIdle()
void submit(const SubmitOptions & options)
PresentResult present(const PresentOptions & options)
std::vector< PresentResult > lastPerSwapchainPresentResults() const

Public Attributes

Name
VkQueue queue
VulkanResourceManager * vulkanResourceManager
std::vector< VkSemaphore > m_vkWaitSemaphores
std::vector< VkPipelineStageFlags > m_vkWaitStageFlags
std::vector< VkSemaphore > m_vkSignalSemaphores
std::vector< VkCommandBuffer > m_vkCommandBuffers
std::vector< VkSemaphore > m_presentVkWaitSemaphores
std::vector< VkSwapchainKHR > m_swapchains
std::vector< uint32_t > m_imageIndices
std::vector< VkResult > m_presentResults

Public Functions Documentation

function VulkanQueue

1
2
3
4
explicit VulkanQueue(
    VkQueue _queue,
    VulkanResourceManager * _vulkanResourceManager
)

function waitUntilIdle

1
void waitUntilIdle()

function submit

1
2
3
void submit(
    const SubmitOptions & options
)

function present

1
2
3
PresentResult present(
    const PresentOptions & options
)

function lastPerSwapchainPresentResults

1
std::vector< PresentResult > lastPerSwapchainPresentResults() const

Public Attributes Documentation

variable queue

1
VkQueue queue { VK_NULL_HANDLE };

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager { nullptr };

variable m_vkWaitSemaphores

1
std::vector< VkSemaphore > m_vkWaitSemaphores;

variable m_vkWaitStageFlags

1
std::vector< VkPipelineStageFlags > m_vkWaitStageFlags;

variable m_vkSignalSemaphores

1
std::vector< VkSemaphore > m_vkSignalSemaphores;

variable m_vkCommandBuffers

1
std::vector< VkCommandBuffer > m_vkCommandBuffers;

variable m_presentVkWaitSemaphores

1
std::vector< VkSemaphore > m_presentVkWaitSemaphores;

variable m_swapchains

1
std::vector< VkSwapchainKHR > m_swapchains;

variable m_imageIndices

1
std::vector< uint32_t > m_imageIndices;

variable m_presentResults

1
std::vector< VkResult > m_presentResults;

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