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()
void blitTexture(const TextureBlitOptions & options)
void clearBuffer(const BufferClear & clear)
void clearColorTexture(const ClearColorTexture & clear)
void clearDepthStencilTexture(const ClearDepthStencilTexture & clear)
void copyBuffer(const BufferCopy & copy)
void copyBufferToTexture(const BufferToTextureCopy & copy)
void copyTextureToBuffer(const TextureToBufferCopy & copy)
void copyTextureToTexture(const TextureToTextureCopy & copy)
void updateBuffer(const BufferUpdate & update)
void memoryBarrier(const MemoryBarrierOptions & options)
void bufferMemoryBarrier(const BufferMemoryBarrierOptions & options)
void textureMemoryBarrier(const TextureMemoryBarrierOptions & options)
void executeSecondaryCommandBuffer(const Handle< CommandBuffer_t > & secondaryCommandBuffer)
void resolveTexture(const TextureResolveOptions & options)
void buildAccelerationStructures(const BuildAccelerationStructureOptions & options)
void beginDebugLabel(const DebugLabelOptions & options)
void endDebugLabel()
Handle< CommandBuffer_t > finish()

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()

function blitTexture

1
2
3
void blitTexture(
    const TextureBlitOptions & options
)

function clearBuffer

1
2
3
void clearBuffer(
    const BufferClear & clear
)

function clearColorTexture

1
2
3
void clearColorTexture(
    const ClearColorTexture & clear
)

function clearDepthStencilTexture

1
2
3
void clearDepthStencilTexture(
    const ClearDepthStencilTexture & clear
)

function copyBuffer

1
2
3
void copyBuffer(
    const BufferCopy & copy
)

function copyBufferToTexture

1
2
3
void copyBufferToTexture(
    const BufferToTextureCopy & copy
)

function copyTextureToBuffer

1
2
3
void copyTextureToBuffer(
    const TextureToBufferCopy & copy
)

function copyTextureToTexture

1
2
3
void copyTextureToTexture(
    const TextureToTextureCopy & copy
)

function updateBuffer

1
2
3
void updateBuffer(
    const BufferUpdate & update
)

function memoryBarrier

1
2
3
void memoryBarrier(
    const MemoryBarrierOptions & options
)

function bufferMemoryBarrier

1
2
3
void bufferMemoryBarrier(
    const BufferMemoryBarrierOptions & options
)

function textureMemoryBarrier

1
2
3
void textureMemoryBarrier(
    const TextureMemoryBarrierOptions & options
)

function executeSecondaryCommandBuffer

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

function resolveTexture

1
2
3
void resolveTexture(
    const TextureResolveOptions & options
)

function buildAccelerationStructures

1
2
3
void buildAccelerationStructures(
    const BuildAccelerationStructureOptions & options
)

function beginDebugLabel

1
2
3
void beginDebugLabel(
    const DebugLabelOptions & options
)

function endDebugLabel

1
void endDebugLabel()

function finish

1
Handle< CommandBuffer_t > finish()

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 2024-12-22 at 00:01:23 +0000