Skip to content

KDGpu::ApiRenderPassCommandRecorder

Module: API

ApiRenderPassCommandRecorder.

#include <api_render_pass_command_recorder.h>

Inherited by KDGpu::VulkanRenderPassCommandRecorder

Public Functions

Name
virtual void setPipeline(const Handle< GraphicsPipeline_t > & pipeline) =0
virtual void setVertexBuffer(uint32_t index, const Handle< Buffer_t > & buffer, DeviceSize offset) =0
virtual void setIndexBuffer(const Handle< Buffer_t > & buffer, DeviceSize offset, IndexType indexType) =0
virtual void setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout, const std::vector< uint32_t > & dynamicBufferOffsets) =0
virtual void setViewport(const Viewport & viewport) =0
virtual void setScissor(const Rect2D & scissor) =0
virtual void setStencilReference(StencilFaceFlags faceMask, int reference) =0
virtual void draw(const DrawCommand & drawCommand) =0
virtual void draw(const std::vector< DrawCommand > & drawCommands) =0
virtual void drawIndexed(const DrawIndexedCommand & drawCommand) =0
virtual void drawIndexed(const std::vector< DrawIndexedCommand > & drawCommands) =0
virtual void drawIndirect(const DrawIndirectCommand & drawCommand) =0
virtual void drawIndirect(const std::vector< DrawIndirectCommand > & drawCommands) =0
virtual void drawIndexedIndirect(const DrawIndexedIndirectCommand & drawCommand) =0
virtual void drawIndexedIndirect(const std::vector< DrawIndexedIndirectCommand > & drawCommands) =0
virtual void pushConstant(const PushConstantRange & constantRange, const void * data) =0
virtual void end() =0

Public Functions Documentation

function setPipeline

1
2
3
virtual void setPipeline(
    const Handle< GraphicsPipeline_t > & pipeline
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setPipeline

function setVertexBuffer

1
2
3
4
5
virtual void setVertexBuffer(
    uint32_t index,
    const Handle< Buffer_t > & buffer,
    DeviceSize offset
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setVertexBuffer

function setIndexBuffer

1
2
3
4
5
virtual void setIndexBuffer(
    const Handle< Buffer_t > & buffer,
    DeviceSize offset,
    IndexType indexType
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setIndexBuffer

function setBindGroup

1
2
3
4
5
6
virtual void setBindGroup(
    uint32_t group,
    const Handle< BindGroup_t > & bindGroup,
    const Handle< PipelineLayout_t > & pipelineLayout,
    const std::vector< uint32_t > & dynamicBufferOffsets
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setBindGroup

function setViewport

1
2
3
virtual void setViewport(
    const Viewport & viewport
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setViewport

function setScissor

1
2
3
virtual void setScissor(
    const Rect2D & scissor
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setScissor

function setStencilReference

1
2
3
4
virtual void setStencilReference(
    StencilFaceFlags faceMask,
    int reference
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::setStencilReference

function draw

1
2
3
virtual void draw(
    const DrawCommand & drawCommand
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::draw

function draw

1
2
3
virtual void draw(
    const std::vector< DrawCommand > & drawCommands
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::draw

function drawIndexed

1
2
3
virtual void drawIndexed(
    const DrawIndexedCommand & drawCommand
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndexed

function drawIndexed

1
2
3
virtual void drawIndexed(
    const std::vector< DrawIndexedCommand > & drawCommands
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndexed

function drawIndirect

1
2
3
virtual void drawIndirect(
    const DrawIndirectCommand & drawCommand
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndirect

function drawIndirect

1
2
3
virtual void drawIndirect(
    const std::vector< DrawIndirectCommand > & drawCommands
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndirect

function drawIndexedIndirect

1
2
3
virtual void drawIndexedIndirect(
    const DrawIndexedIndirectCommand & drawCommand
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndexedIndirect

function drawIndexedIndirect

1
2
3
virtual void drawIndexedIndirect(
    const std::vector< DrawIndexedIndirectCommand > & drawCommands
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::drawIndexedIndirect

function pushConstant

1
2
3
4
virtual void pushConstant(
    const PushConstantRange & constantRange,
    const void * data
) =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::pushConstant

function end

1
virtual void end() =0

Reimplemented by: KDGpu::VulkanRenderPassCommandRecorder::end


Updated on 2024-11-21 at 00:08:26 +0000