Skip to content

KDGpu::ApiComputePassCommandRecorder

Module: API

ApiComputePassCommandRecorder.

#include <api_compute_pass_command_recorder.h>

Inherited by KDGpu::VulkanComputePassCommandRecorder

Public Functions

Name
virtual void setPipeline(const Handle< ComputePipeline_t > & pipeline) =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 dispatchCompute(const ComputeCommand & command) =0
virtual void dispatchCompute(const std::vector< ComputeCommand > & commands) =0
virtual void dispatchComputeIndirect(const ComputeCommandIndirect & command) =0
virtual void dispatchComputeIndirect(const std::vector< ComputeCommandIndirect > & commands) =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< ComputePipeline_t > & pipeline
) =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::setPipeline

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::VulkanComputePassCommandRecorder::setBindGroup

function dispatchCompute

1
2
3
virtual void dispatchCompute(
    const ComputeCommand & command
) =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::dispatchCompute

function dispatchCompute

1
2
3
virtual void dispatchCompute(
    const std::vector< ComputeCommand > & commands
) =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::dispatchCompute

function dispatchComputeIndirect

1
2
3
virtual void dispatchComputeIndirect(
    const ComputeCommandIndirect & command
) =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::dispatchComputeIndirect

function dispatchComputeIndirect

1
2
3
virtual void dispatchComputeIndirect(
    const std::vector< ComputeCommandIndirect > & commands
) =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::dispatchComputeIndirect

function pushConstant

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

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::pushConstant

function end

1
virtual void end() =0

Reimplemented by: KDGpu::VulkanComputePassCommandRecorder::end


Updated on 2024-12-22 at 00:08:03 +0000