SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::VulkanCommandBuffer Class Reference

VulkanCommandBuffer Class. This class defines the VulkanCommandBuffer behaves. This class is just a wrapper of VkCommandBuffer. More...

#include <VulkanCommandBuffer.h>

Inheritance diagram for Spices::VulkanCommandBuffer:
Spices::VulkanObject

Public Member Functions

 VulkanCommandBuffer (VulkanState &vulkanState)
 Constructor Function. Create VkCommandBuffer.
 
virtual ~VulkanCommandBuffer () override=default
 Destructor Function. VkCommandBuffer is created by VkCommandPool, we do not need destroy it here manually.
 

Static Public Member Functions

template<typename T >
static void CustomGraphicCmd (VulkanState &vulkanState, T func)
 Create a new command buffer and record custom cmd, submit to graphic queue, execute it immediately.
 

Protected Attributes

VulkanStatem_VulkanState
 The global VulkanState Referenced from VulkanRenderBackend.
 

Detailed Description

VulkanCommandBuffer Class. This class defines the VulkanCommandBuffer behaves. This class is just a wrapper of VkCommandBuffer.

Definition at line 117 of file VulkanCommandBuffer.h.


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