evan 2026.1.4
Evan
Loading...
Searching...
No Matches
evan::QueueFamilyIndices Struct Reference

A structure to represent Vulkan queue family indices. More...

#include <headers/evan/QueueFamilyIndices.hpp>

Public Member Functions

bool isComplete () const
 isComplete
 

Public Attributes

std::optional< uint32_t > graphicsFamily
 An optional value representing the index of the queue family that supports graphics operations.
 
std::optional< uint32_t > presentFamily
 An optional value representing the index of the queue family that supports presentation operations.
 

Detailed Description

A structure to represent Vulkan queue family indices.

This structure is used to store the indices of queue families that support specific operations, such as graphics and presentation.

Definition at line 22 of file QueueFamilyIndices.hpp.

Member Function Documentation

◆ isComplete()

bool evan::QueueFamilyIndices::isComplete ( ) const
inline

isComplete

A method to check if both graphicsFamily and presentFamily have been assigned values.

Returns
true if both graphicsFamily and presentFamily have values, indicating that the required queue families are available. False otherwise.

Definition at line 45 of file QueueFamilyIndices.hpp.

Member Data Documentation

◆ graphicsFamily

std::optional<uint32_t> evan::QueueFamilyIndices::graphicsFamily

An optional value representing the index of the queue family that supports graphics operations.

Definition at line 27 of file QueueFamilyIndices.hpp.

◆ presentFamily

std::optional<uint32_t> evan::QueueFamilyIndices::presentFamily

An optional value representing the index of the queue family that supports presentation operations.

Definition at line 33 of file QueueFamilyIndices.hpp.


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