Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
GraphicsObjectManager::CommandUnit Struct Reference

Command unit represents everything needed to allocate, submit, record and execute commands. More...

Collaboration diagram for GraphicsObjectManager::CommandUnit:
Collaboration graph

Public Member Functions

VkCommandBuffer startCommandBuffer (VkDevice logDevice)
 
bool endCommandBuffer (VkDevice logDevice, VkCommandBuffer commandBuffer, VkFence fence=VK_NULL_HANDLE)
 

Public Attributes

VkQueue queue
 Queue for the command unit. More...
 
VkCommandPool commandPool
 Command pool for the command unit. More...
 
uint32_t queueFamilyIndex
 Queue family index of the command unit. More...
 

Detailed Description

Command unit represents everything needed to allocate, submit, record and execute commands.

Member Function Documentation

◆ endCommandBuffer()

bool GraphicsObjectManager::CommandUnit::endCommandBuffer ( VkDevice  logDevice,
VkCommandBuffer  commandBuffer,
VkFence  fence = VK_NULL_HANDLE 
)

◆ startCommandBuffer()

VkCommandBuffer GraphicsObjectManager::CommandUnit::startCommandBuffer ( VkDevice  logDevice)
Here is the caller graph for this function:

Member Data Documentation

◆ commandPool

VkCommandPool GraphicsObjectManager::CommandUnit::commandPool

Command pool for the command unit.

◆ queue

VkQueue GraphicsObjectManager::CommandUnit::queue

Queue for the command unit.

◆ queueFamilyIndex

uint32_t GraphicsObjectManager::CommandUnit::queueFamilyIndex

Queue family index of the command unit.


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