MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::QueueFamilyIndices Struct Reference

Stores indices of queue families we need. More...

#include <VKDevice.hpp>

+ Collaboration diagram for MayaFlux::Core::QueueFamilyIndices:

Public Member Functions

bool can_present (uint32_t index) const
 Whether family index can present.
 
bool is_complete () const
 
std::optional< uint32_t > preferred_present_family () const
 Family the engine presents on by default.
 

Public Attributes

std::optional< uint32_t > compute_family
 
std::optional< uint32_t > graphics_family
 
uint32_t present_family_mask {}
 Bit i set when family i passed the surfaceless presentation probe.
 
std::optional< uint32_t > transfer_family
 

Static Public Attributes

static constexpr uint32_t MAX_TRACKED_FAMILIES = 32
 Width of present_family_mask.
 

Detailed Description

Stores indices of queue families we need.

Immutable after VKDevice::create_logical_device. Presentation is a property of the device, the family, and the platform, resolved once at device selection, so present_family_mask is never renegotiated per surface.

Definition at line 17 of file VKDevice.hpp.


The documentation for this struct was generated from the following file: