HoviTron Video Pipeline
Public Member Functions | Data Fields
QueueFamilyIndices Struct Reference

Struct to encapsulate the indice of the queues families. More...

#include <VulkanContext.h>

Public Member Functions

bool isComplete ()
 

Data Fields

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

Detailed Description

Struct to encapsulate the indice of the queues families.

Struct to encapsulate QueueFamily elements.

Definition at line 38 of file VulkanContext.h.

Member Function Documentation

◆ isComplete()

bool QueueFamilyIndices::isComplete ( )
inline

Return true if there is indice for graphic, present and transfer family.

Definition at line 46 of file VulkanContext.h.

46 {
47 return graphicsFamily.has_value() && presentFamily.has_value() && transferFamily.has_value();
48 }
std::optional< uint32_t > transferFamily
Definition: VulkanContext.h:44
std::optional< uint32_t > graphicsFamily
Definition: VulkanContext.h:40
std::optional< uint32_t > presentFamily
Definition: VulkanContext.h:42

Field Documentation

◆ graphicsFamily

std::optional<uint32_t> QueueFamilyIndices::graphicsFamily

The graphics queue family is the set of queue that support graphics operation

Definition at line 40 of file VulkanContext.h.

◆ presentFamily

std::optional<uint32_t> QueueFamilyIndices::presentFamily

The present queue family is the set of queue that support presentation operation

Definition at line 42 of file VulkanContext.h.

◆ transferFamily

std::optional<uint32_t> QueueFamilyIndices::transferFamily

The transfer queue family is the set of queue that support transfer operation

Definition at line 44 of file VulkanContext.h.


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