Skip to content

KDGpu::VulkanCommandBuffer

Module: Vulkan

VulkanCommandBuffer.

#include <vulkan_command_buffer.h>

Public Functions

Name
VulkanCommandBuffer(VkCommandBuffer _commandBuffer, VkCommandPool _commandPool, VkCommandBufferLevel _commandLevel, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle)
void begin()
void finish()

Public Attributes

Name
VkCommandBuffer commandBuffer
VkCommandPool commandPool
VkCommandBufferLevel commandLevel
VulkanResourceManager * vulkanResourceManager
Handle< Device_t > deviceHandle
std::vector< Handle< Buffer_t > > temporaryBuffersToRelease

Public Functions Documentation

function VulkanCommandBuffer

1
2
3
4
5
6
7
explicit VulkanCommandBuffer(
    VkCommandBuffer _commandBuffer,
    VkCommandPool _commandPool,
    VkCommandBufferLevel _commandLevel,
    VulkanResourceManager * _vulkanResourceManager,
    const Handle< Device_t > & _deviceHandle
)

function begin

1
void begin()

function finish

1
void finish()

Public Attributes Documentation

variable commandBuffer

1
VkCommandBuffer commandBuffer { VK_NULL_HANDLE };

variable commandPool

1
VkCommandPool commandPool { VK_NULL_HANDLE };

variable commandLevel

1
VkCommandBufferLevel commandLevel { VK_COMMAND_BUFFER_LEVEL_PRIMARY };

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager { nullptr };

variable deviceHandle

1
Handle< Device_t > deviceHandle;

variable temporaryBuffersToRelease

1
std::vector< Handle< Buffer_t > > temporaryBuffersToRelease;

Updated on 2024-12-22 at 00:01:23 +0000