MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_preferred_present_queue()

vk::Queue MayaFlux::Core::VKDevice::get_preferred_present_queue ( ) const

Queue for the preferred presentation family.

Returns
Queue handle, or null when no family can present

Definition at line 588 of file VKDevice.cpp.

589{
591 return family.has_value() ? get_present_queue(family.value()) : nullptr;
592}
vk::Queue get_present_queue(uint32_t family_index) const
Queue for a presentation-capable family.
Definition VKDevice.cpp:582
QueueFamilyIndices m_queue_families
Indices of required queue families.
Definition VKDevice.hpp:179
std::optional< uint32_t > preferred_present_family() const
Family the engine presents on by default.
Definition VKDevice.hpp:43

References get_present_queue(), m_queue_families, and MayaFlux::Core::QueueFamilyIndices::preferred_present_family().

+ Here is the call graph for this function: