tp::DeviceQueue struct

Refers to a device queue to which jobs can be submitted for execution. Multiple different queues may map to the same Vulkan queue.

Constructors, destructors, conversion operators

DeviceQueue() constexpr
Constructs a null tp::DeviceQueue.
DeviceQueue(QueueType type, uint32_t index = 0) constexpr

Public functions

auto isNull() const -> bool
Returns true if the queue is null and not valid for use unless specified otherwise.

Function documentation

tp::DeviceQueue::DeviceQueue(QueueType type, uint32_t index = 0) constexpr

Parameters
type The type of the queue.
index The index of the queue within the type.