VulkanCommandBuffer Class. This class defines the VulkanCommandBuffer behaves. This class is just a wrapper of VkCommandBuffer. More...
#include <VulkanCommandBuffer.h>
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 | |
| VulkanState & | m_VulkanState |
| The global VulkanState Referenced from VulkanRenderBackend. | |
VulkanCommandBuffer Class. This class defines the VulkanCommandBuffer behaves. This class is just a wrapper of VkCommandBuffer.
Definition at line 117 of file VulkanCommandBuffer.h.