![]() |
Raven Engine v0.1
|
Holds the indices of Vulkan queue families used for graphics and presentation. More...
#include <QueueFamilyIndices.h>
Public Member Functions | |
| bool | IsComplete () const |
| Checks whether both graphics and presentation queue families have been identified. | |
Public Attributes | |
| std::optional< u32 > | GraphicsFamily |
| Index of the graphics queue family, if found. | |
| std::optional< u32 > | PresentFamily |
| Index of the presentation queue family, if found. | |
Holds the indices of Vulkan queue families used for graphics and presentation.
This struct uses std::optional to track whether suitable queue families have been found for graphics and presentation operations. It provides a simple check for completeness.
|
inline |
Checks whether both graphics and presentation queue families have been identified.
| std::optional<u32> Raven::QueueFamilyIndices::GraphicsFamily |
Index of the graphics queue family, if found.
| std::optional<u32> Raven::QueueFamilyIndices::PresentFamily |
Index of the presentation queue family, if found.