Skip to content

KDGpu::VulkanCommandRecorder

Module: Vulkan

VulkanCommandRecorder.

#include <vulkan_command_recorder.h>

Public Functions

Name
VulkanCommandRecorder(VkCommandPool _commandPool, const Handle< CommandBuffer_t > & _commandBufferHandle, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle)
void begin() const
void blitTexture(const TextureBlitOptions & options) const
void clearBuffer(const BufferClear & clear) const
void clearColorTexture(const ClearColorTexture & clear) const
void clearDepthStencilTexture(const ClearDepthStencilTexture & clear) const
void copyBuffer(const BufferCopy & copy) const
void copyBufferToTexture(const BufferToTextureCopy & copy) const
void copyTextureToBuffer(const TextureToBufferCopy & copy) const
void copyTextureToTexture(const TextureToTextureCopy & copy) const
void updateBuffer(const BufferUpdate & update) const
void memoryBarrier(const MemoryBarrierOptions & options) const
void bufferMemoryBarrier(const BufferMemoryBarrierOptions & options) const
void textureMemoryBarrier(const TextureMemoryBarrierOptions & options) const
void executeSecondaryCommandBuffer(const Handle< CommandBuffer_t > & secondaryCommandBuffer) const
void resolveTexture(const TextureResolveOptions & options) const
void buildAccelerationStructures(const BuildAccelerationStructureOptions & options) const
void beginDebugLabel(const DebugLabelOptions & options) const
void endDebugLabel() const
Handle< CommandBuffer_t > finish() const

Public Attributes

Name
VkCommandPool commandPool
VkCommandBuffer commandBuffer
Handle< CommandBuffer_t > commandBufferHandle
VulkanResourceManager * vulkanResourceManager
Handle< Device_t > deviceHandle

Public Functions Documentation

function VulkanCommandRecorder

1
2
3
4
5
6
explicit VulkanCommandRecorder(
    VkCommandPool _commandPool,
    const Handle< CommandBuffer_t > & _commandBufferHandle,
    VulkanResourceManager * _vulkanResourceManager,
    const Handle< Device_t > & _deviceHandle
)

function begin

1
void begin() const

function blitTexture

1
2
3
void blitTexture(
    const TextureBlitOptions & options
) const

function clearBuffer

1
2
3
void clearBuffer(
    const BufferClear & clear
) const

function clearColorTexture

1
2
3
void clearColorTexture(
    const ClearColorTexture & clear
) const

function clearDepthStencilTexture

1
2
3
void clearDepthStencilTexture(
    const ClearDepthStencilTexture & clear
) const

function copyBuffer

1
2
3
void copyBuffer(
    const BufferCopy & copy
) const

function copyBufferToTexture

1
2
3
void copyBufferToTexture(
    const BufferToTextureCopy & copy
) const

function copyTextureToBuffer

1
2
3
void copyTextureToBuffer(
    const TextureToBufferCopy & copy
) const

function copyTextureToTexture

1
2
3
void copyTextureToTexture(
    const TextureToTextureCopy & copy
) const

function updateBuffer

1
2
3
void updateBuffer(
    const BufferUpdate & update
) const

function memoryBarrier

1
2
3
void memoryBarrier(
    const MemoryBarrierOptions & options
) const

function bufferMemoryBarrier

1
2
3
void bufferMemoryBarrier(
    const BufferMemoryBarrierOptions & options
) const

function textureMemoryBarrier

1
2
3
void textureMemoryBarrier(
    const TextureMemoryBarrierOptions & options
) const

function executeSecondaryCommandBuffer

1
2
3
void executeSecondaryCommandBuffer(
    const Handle< CommandBuffer_t > & secondaryCommandBuffer
) const

function resolveTexture

1
2
3
void resolveTexture(
    const TextureResolveOptions & options
) const

function buildAccelerationStructures

1
2
3
void buildAccelerationStructures(
    const BuildAccelerationStructureOptions & options
) const

function beginDebugLabel

1
2
3
void beginDebugLabel(
    const DebugLabelOptions & options
) const

function endDebugLabel

1
void endDebugLabel() const

function finish

1
Handle< CommandBuffer_t > finish() const

Public Attributes Documentation

variable commandPool

1
VkCommandPool commandPool { VK_NULL_HANDLE };

variable commandBuffer

1
VkCommandBuffer commandBuffer { VK_NULL_HANDLE };

variable commandBufferHandle

1
Handle< CommandBuffer_t > commandBufferHandle;

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager { nullptr };

variable deviceHandle

1
Handle< Device_t > deviceHandle;

Updated on 2025-12-31 at 00:05:02 +0000