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

◆ can_present()

bool MayaFlux::Core::QueueFamilyIndices::can_present ( uint32_t  index) const
inline

Whether family index can present.

Definition at line 33 of file VKDevice.hpp.

34 {
35 return index < MAX_TRACKED_FAMILIES && (present_family_mask & (1U << index)) != 0;
36 }
uint32_t index
Definition VKDevice.cpp:142
static constexpr uint32_t MAX_TRACKED_FAMILIES
Width of present_family_mask.
Definition VKDevice.hpp:18
uint32_t present_family_mask
Bit i set when family i passed the surfaceless presentation probe.
Definition VKDevice.hpp:25

References index, MAX_TRACKED_FAMILIES, and present_family_mask.

Referenced by MayaFlux::Core::VKDevice::create_logical_device(), and preferred_present_family().

+ Here is the caller graph for this function: