Rendering Engine 0.2.0
Modular Graphics Rendering Engine | v0.2.0
Loading...
Searching...
No Matches
rendering_engine::QueueFamilyIndices Struct Reference

Holds indices of Vulkan queue families supporting required operations. More...

#include <vulkan_renderer.hpp>

Public Member Functions

bool IsComplete ()
 Checks if both required queue families are available.

Public Attributes

std::optional< uint32_t > graphicsFamily
std::optional< uint32_t > presentFamily

Detailed Description

Holds indices of Vulkan queue families supporting required operations.

Definition at line 25 of file vulkan_renderer.hpp.

Member Function Documentation

◆ IsComplete()

bool rendering_engine::QueueFamilyIndices::IsComplete ( )
inline

Checks if both required queue families are available.

Definition at line 30 of file vulkan_renderer.hpp.

31 {
32 return graphicsFamily.has_value() && presentFamily.has_value();
33 }
std::optional< uint32_t > presentFamily
std::optional< uint32_t > graphicsFamily

Member Data Documentation

◆ graphicsFamily

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

Definition at line 27 of file vulkan_renderer.hpp.

◆ presentFamily

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

Definition at line 28 of file vulkan_renderer.hpp.


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