MayaFlux 0.5.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 608 of file VKDevice.cpp.

609{
611 return family.has_value() ? get_present_queue(family.value()) : nullptr;
612}
vk::Queue get_present_queue(uint32_t family_index) const
Queue for a presentation-capable family.
Definition VKDevice.cpp:602
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().

Referenced by MayaFlux::Core::VKContext::get_preferred_present_queue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: