struct
#include <VaultedVulkan/VV_LogicalDevice.hpp>
Queue Queues handle different types of batched commands for the GPU to complete.
Contents
- Reference
Vulkan queues provide an interface to the execution engines of a device. Commands for these execution engines are recorded into command buffers ahead of execution time. These command buffers are then submitted to queues with a queue submission command for execution in a number of batches. Once submitted to a queue, these commands will begin and complete execution without further application intervention, though the order of this execution is dependent on a number of implicit and explicit ordering constraints. Specification
Public types
- struct CreateInfo
- Specification
- using Handle = VkQueue
- Specification
- using ECreateFlag = ELogicalDeviceQueueCreateFlag
- using PresentationInfo = VkPresentInfoKHR
- Used to specify parameters for a presentation.
- using SubmitInfo = VkSubmitInfo
- Specifies a command buffer submission batch.
- using Fence_Handle = VkFence
- Internal definition of a fence (not defined yet...)
Public static functions
-
static void Get(LogicalDevice::
Handle _device, ui32 _queueFamilyIndex, ui32 _queueIndex, Handle& _queueReturn) - Get a queue handle from a device.
-
static auto QueuePresentation(LogicalDevice::
Queue:: _queue, const PresentationInfo& _presentation) -> EResultHandle - Queue an image for presentation.
-
static auto SubmitToQueue(LogicalDevice::
Queue:: _queue, ui32 _submitCount, const SubmitInfo* _submissions, Fence_Handle Handle _fence) -> EResult - Submit command buffers to the queue.
- static auto WaitUntilIdle(Handle _queue) -> EResult
- To wait on the host for the completion of outstanding queue operations for a given queue.