![]() |
Kale
|
#include <QueueFamilyIndices.hpp>
Public Member Functions | |
QueueFamilyIndices () | |
QueueFamilyIndices (const vk::PhysicalDevice &device) | |
bool | hasAllIndices () const |
std::unordered_set< uint32_t > | getUniqueIndices () const |
Public Attributes | |
std::optional< uint32_t > | graphicsFamilyIndex |
std::optional< uint32_t > | presentFamilyIndex |
The indices for each queue family of a physical device which we need
Definition at line 30 of file QueueFamilyIndices.hpp.
QueueFamilyIndices::QueueFamilyIndices | ( | ) |
Creates an uninitialized object
Definition at line 29 of file QueueFamilyIndices.cpp.
QueueFamilyIndices::QueueFamilyIndices | ( | const vk::PhysicalDevice & | device | ) |
Gets all the required queue family indices
device | The physical device to check for |
Definition at line 37 of file QueueFamilyIndices.cpp.
std::unordered_set< uint32_t > QueueFamilyIndices::getUniqueIndices | ( | ) | const |
Gets an unordered set of all the unique indices
Definition at line 64 of file QueueFamilyIndices.cpp.
bool QueueFamilyIndices::hasAllIndices | ( | ) | const |
Returns whether or not this physical device contains all required queue family indices
Definition at line 56 of file QueueFamilyIndices.cpp.
std::optional<uint32_t> Kale::Vulkan::QueueFamilyIndices::graphicsFamilyIndex |
The graphics queue family index of the device if it exists
Definition at line 36 of file QueueFamilyIndices.hpp.
std::optional<uint32_t> Kale::Vulkan::QueueFamilyIndices::presentFamilyIndex |
The presentation family queue index
Definition at line 41 of file QueueFamilyIndices.hpp.