vengine  0.1.0
3D graphics engine made with Vulkan
Loading...
Searching...
No Matches
ven::QueueFamilyIndices Struct Reference

#include <Device.hpp>

+ Collaboration diagram for ven::QueueFamilyIndices:

Public Member Functions

bool isComplete () const
 

Public Attributes

uint32_t graphicsFamily {}
 
uint32_t presentFamily {}
 
bool graphicsFamilyHasValue = false
 
bool presentFamilyHasValue = false
 

Detailed Description

Definition at line 21 of file Device.hpp.

Member Function Documentation

◆ isComplete()

bool ven::QueueFamilyIndices::isComplete ( ) const
inlinenodiscard

Definition at line 26 of file Device.hpp.

References graphicsFamilyHasValue, and presentFamilyHasValue.

Referenced by ven::Device::findQueueFamilies(), and ven::Device::isDeviceSuitable().

+ Here is the caller graph for this function:

Member Data Documentation

◆ graphicsFamily

uint32_t ven::QueueFamilyIndices::graphicsFamily {}

◆ graphicsFamilyHasValue

bool ven::QueueFamilyIndices::graphicsFamilyHasValue = false

Definition at line 24 of file Device.hpp.

Referenced by ven::Device::findQueueFamilies(), and isComplete().

◆ presentFamily

uint32_t ven::QueueFamilyIndices::presentFamily {}

◆ presentFamilyHasValue

bool ven::QueueFamilyIndices::presentFamilyHasValue = false

Definition at line 25 of file Device.hpp.

Referenced by ven::Device::findQueueFamilies(), and isComplete().


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