Skip to content

KDGpu::VulkanCommandBuffer

Module: Vulkan

VulkanCommandBuffer.

#include <vulkan_command_buffer.h>

Inherits from KDGpu::ApiCommandBuffer

Public Functions

Name
VulkanCommandBuffer(VkCommandBuffer _commandBuffer, VkCommandPool _commandPool, VkCommandBufferLevel _commandLevel, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle)
virtual void begin()
virtual 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
virtual void begin()

Reimplements: KDGpu::ApiCommandBuffer::begin

function finish

1
virtual void finish()

Reimplements: KDGpu::ApiCommandBuffer::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-11-21 at 00:08:26 +0000