KDGpu::VulkanRenderPassCommandRecorder
Module: Vulkan
VulkanRenderPassCommandRecorder.
#include <vulkan_render_pass_command_recorder.h>
Inherits from KDGpu::ApiRenderPassCommandRecorder
Public Functions
Public Attributes
Public Functions Documentation
function VulkanRenderPassCommandRecorder
| explicit VulkanRenderPassCommandRecorder(
VkCommandBuffer _commandBuffer,
VkRect2D _renderArea,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle
)
|
function setPipeline
| virtual void setPipeline(
const Handle< GraphicsPipeline_t > & pipeline
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setPipeline
function setVertexBuffer
| virtual void setVertexBuffer(
uint32_t index,
const Handle< Buffer_t > & buffer,
DeviceSize offset
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setVertexBuffer
function setIndexBuffer
| virtual void setIndexBuffer(
const Handle< Buffer_t > & buffer,
DeviceSize offset,
IndexType indexType
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setIndexBuffer
function setBindGroup
| virtual void setBindGroup(
uint32_t group,
const Handle< BindGroup_t > & bindGroup,
const Handle< PipelineLayout_t > & pipelineLayout,
const std::vector< uint32_t > & dynamicBufferOffsets
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setBindGroup
function setViewport
| virtual void setViewport(
const Viewport & viewport
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setViewport
function setScissor
| virtual void setScissor(
const Rect2D & scissor
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setScissor
function setStencilReference
| virtual void setStencilReference(
StencilFaceFlags faceMask,
int reference
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setStencilReference
function draw
| virtual void draw(
const DrawCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::draw
function draw
| virtual void draw(
const std::vector< DrawCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::draw
function drawIndexed
| virtual void drawIndexed(
const DrawIndexedCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexed
function drawIndexed
| virtual void drawIndexed(
const std::vector< DrawIndexedCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexed
function drawIndirect
| virtual void drawIndirect(
const DrawIndirectCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndirect
function drawIndirect
| virtual void drawIndirect(
const std::vector< DrawIndirectCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndirect
function drawIndexedIndirect
| virtual void drawIndexedIndirect(
const DrawIndexedIndirectCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexedIndirect
function drawIndexedIndirect
| virtual void drawIndexedIndirect(
const std::vector< DrawIndexedIndirectCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexedIndirect
function pushConstant
| virtual void pushConstant(
const PushConstantRange & constantRange,
const void * data
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::pushConstant
function end
Reimplements: KDGpu::ApiRenderPassCommandRecorder::end
Public Attributes Documentation
variable commandBuffer
| VkCommandBuffer commandBuffer { VK_NULL_HANDLE };
|
variable renderArea
variable vulkanResourceManager
| VulkanResourceManager * vulkanResourceManager { nullptr };
|
variable deviceHandle
| Handle< Device_t > deviceHandle;
|
variable pipeline
| Handle< GraphicsPipeline_t > pipeline;
|
variable firstPipelineWasSet
| bool firstPipelineWasSet { false };
|
Updated on 2025-04-12 at 00:01:45 +0000