Skip to content

KDGpu::ComputePassCommandRecorder

Module: Public API

ComputePassCommandRecorder.

#include <compute_pass_command_recorder.h>

Public Functions

Name
~ComputePassCommandRecorder()
ComputePassCommandRecorder(ComputePassCommandRecorder && other)
ComputePassCommandRecorder & operator=(ComputePassCommandRecorder && other)
ComputePassCommandRecorder(const ComputePassCommandRecorder & ) =delete
ComputePassCommandRecorder & operator=(const ComputePassCommandRecorder & ) =delete
const Handle< ComputePassCommandRecorder_t > & handle() const
bool isValid() const
operator Handle< ComputePassCommandRecorder_t >() const
void setPipeline(const Handle< ComputePipeline_t > & pipeline)
void setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout =Handle< PipelineLayout_t >(), const std::vector< uint32_t > & dynamicBufferOffsets ={})
void dispatchCompute(const ComputeCommand & command)
void dispatchCompute(const std::vector< ComputeCommand > & commands)
void dispatchComputeIndirect(const ComputeCommandIndirect & command)
void dispatchComputeIndirect(const std::vector< ComputeCommandIndirect > & commands)
void pushConstant(const PushConstantRange & constantRange, const void * data)
void end()

Friends

Name
class CommandRecorder

Public Functions Documentation

function ~ComputePassCommandRecorder

1
~ComputePassCommandRecorder()

function ComputePassCommandRecorder

1
2
3
ComputePassCommandRecorder(
    ComputePassCommandRecorder && other
)

function operator=

1
2
3
ComputePassCommandRecorder & operator=(
    ComputePassCommandRecorder && other
)

function ComputePassCommandRecorder

1
2
3
ComputePassCommandRecorder(
    const ComputePassCommandRecorder & 
) =delete

function operator=

1
2
3
ComputePassCommandRecorder & operator=(
    const ComputePassCommandRecorder & 
) =delete

function handle

1
inline const Handle< ComputePassCommandRecorder_t > & handle() const

function isValid

1
inline bool isValid() const

function operator Handle< ComputePassCommandRecorder_t >

1
inline operator Handle< ComputePassCommandRecorder_t >() const

function setPipeline

1
2
3
void setPipeline(
    const Handle< ComputePipeline_t > & pipeline
)

function setBindGroup

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

function dispatchCompute

1
2
3
void dispatchCompute(
    const ComputeCommand & command
)

function dispatchCompute

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

function dispatchComputeIndirect

1
2
3
void dispatchComputeIndirect(
    const ComputeCommandIndirect & command
)

function dispatchComputeIndirect

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

function pushConstant

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

function end

1
void end()

Friends

friend CommandRecorder

1
2
3
friend class CommandRecorder(
    CommandRecorder 
);

Updated on 2024-11-22 at 00:02:02 +0000