Nameless Engine
Loading...
Searching...
No Matches
ne::VulkanRenderer::QueueFamilyIndices Struct Reference

Public Member Functions

bool isComplete () const
 

Public Attributes

std::optional< uint32_t > iGraphicsFamilyIndex
 
std::optional< uint32_t > iPresentFamilyIndex
 

Detailed Description

Stores indices of various types of queue families in the array returned by vkGetPhysicalDeviceQueueFamilyProperties.

Member Function Documentation

◆ isComplete()

bool ne::VulkanRenderer::QueueFamilyIndices::isComplete ( ) const
inline

Tells if all graphics family indices are set or not.

Returns
true if all set, false otherwise.

Member Data Documentation

◆ iGraphicsFamilyIndex

std::optional<uint32_t> ne::VulkanRenderer::QueueFamilyIndices::iGraphicsFamilyIndex

Index of the graphics queue family, empty if not available.

◆ iPresentFamilyIndex

std::optional<uint32_t> ne::VulkanRenderer::QueueFamilyIndices::iPresentFamilyIndex

Index of the queue family that supports window surface presentation, empty if not available.


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