KDGpu::RenderPassCommandRecorder
Module: Public API
RenderPassCommandRecorder.
#include <render_pass_command_recorder.h>
Public Functions
|
Name |
|
~RenderPassCommandRecorder() |
|
RenderPassCommandRecorder(RenderPassCommandRecorder && other) |
| RenderPassCommandRecorder & |
operator=(RenderPassCommandRecorder && other) |
|
RenderPassCommandRecorder(const RenderPassCommandRecorder & ) =delete |
| RenderPassCommandRecorder & |
operator=(const RenderPassCommandRecorder & ) =delete |
| const Handle< RenderPassCommandRecorder_t > & |
handle() const |
| bool |
isValid() const |
|
operator Handle< RenderPassCommandRecorder_t >() const |
| void |
setPipeline(const Handle< GraphicsPipeline_t > & pipeline) |
| void |
setVertexBuffer(uint32_t index, const Handle< Buffer_t > & buffer, DeviceSize offset =0) |
| void |
setIndexBuffer(const Handle< Buffer_t > & buffer, DeviceSize offset =0, IndexType indexType =IndexType::Uint32) |
| void |
setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout =Handle< PipelineLayout_t >(), std::span< const uint32_t > dynamicBufferOffsets ={}) |
| void |
setViewport(const Viewport & viewport) |
| void |
setScissor(const Rect2D & scissor) |
| void |
setStencilReference(StencilFaceFlags faceMask, int reference) |
| void |
draw(const DrawCommand & drawCommand) |
| void |
draw(std::span< const DrawCommand > drawCommands) |
| void |
drawIndexed(const DrawIndexedCommand & drawCommand) |
| void |
drawIndexed(std::span< const DrawIndexedCommand > drawCommands) |
| void |
drawIndirect(const DrawIndirectCommand & drawCommand) |
| void |
drawIndirect(std::span< const DrawIndirectCommand > drawCommands) |
| void |
drawIndexedIndirect(const DrawIndexedIndirectCommand & drawCommand) |
| void |
drawIndexedIndirect(std::span< const DrawIndexedIndirectCommand > drawCommands) |
| void |
drawMeshTasks(const DrawMeshCommand & drawCommand) |
| void |
drawMeshTasks(std::span< const DrawMeshCommand > drawCommands) |
| void |
drawMeshTasksIndirect(const DrawMeshIndirectCommand & drawCommand) |
| void |
drawMeshTasksIndirect(std::span< const DrawMeshIndirectCommand > drawCommands) |
| void |
pushConstant(const PushConstantRange & constantRange, const void * data, const Handle< PipelineLayout_t > & pipelineLayout ={}) |
| void |
pushBindGroup(uint32_t group, std::span< const BindGroupEntry > bindGroupEntries, const Handle< PipelineLayout_t > & pipelineLayout =Handle< PipelineLayout_t >()) |
| void |
nextSubpass() |
| void |
setInputAttachmentMapping(std::span< const uint32_t > colorAttachmentIndices, std::optional< uint32_t > depthAttachmentIndex, std::optional< uint32_t > stencilAttachmentIndex) |
| void |
setOutputAttachmentMapping(std::span< const uint32_t > remappedOutputs) |
| void |
end() |
Friends
Public Functions Documentation
function ~RenderPassCommandRecorder
| ~RenderPassCommandRecorder()
|
function RenderPassCommandRecorder
| RenderPassCommandRecorder(
RenderPassCommandRecorder && other
)
|
function operator=
| RenderPassCommandRecorder & operator=(
RenderPassCommandRecorder && other
)
|
function RenderPassCommandRecorder
| RenderPassCommandRecorder(
const RenderPassCommandRecorder &
) =delete
|
function operator=
| RenderPassCommandRecorder & operator=(
const RenderPassCommandRecorder &
) =delete
|
function handle
| inline const Handle< RenderPassCommandRecorder_t > & handle() const
|
function isValid
| inline bool isValid() const
|
function operator Handle< RenderPassCommandRecorder_t >
| inline operator Handle< RenderPassCommandRecorder_t >() const
|
function setPipeline
| void setPipeline(
const Handle< GraphicsPipeline_t > & pipeline
)
|
function setVertexBuffer
| void setVertexBuffer(
uint32_t index,
const Handle< Buffer_t > & buffer,
DeviceSize offset =0
)
|
function setIndexBuffer
| void setIndexBuffer(
const Handle< Buffer_t > & buffer,
DeviceSize offset =0,
IndexType indexType =IndexType::Uint32
)
|
function setBindGroup
| void setBindGroup(
uint32_t group,
const Handle< BindGroup_t > & bindGroup,
const Handle< PipelineLayout_t > & pipelineLayout =Handle< PipelineLayout_t >(),
std::span< const uint32_t > dynamicBufferOffsets ={}
)
|
function setViewport
| void setViewport(
const Viewport & viewport
)
|
function setScissor
| void setScissor(
const Rect2D & scissor
)
|
function setStencilReference
| void setStencilReference(
StencilFaceFlags faceMask,
int reference
)
|
function draw
| void draw(
const DrawCommand & drawCommand
)
|
function draw
| void draw(
std::span< const DrawCommand > drawCommands
)
|
function drawIndexed
| void drawIndexed(
const DrawIndexedCommand & drawCommand
)
|
function drawIndexed
| void drawIndexed(
std::span< const DrawIndexedCommand > drawCommands
)
|
function drawIndirect
| void drawIndirect(
const DrawIndirectCommand & drawCommand
)
|
function drawIndirect
| void drawIndirect(
std::span< const DrawIndirectCommand > drawCommands
)
|
function drawIndexedIndirect
| void drawIndexedIndirect(
const DrawIndexedIndirectCommand & drawCommand
)
|
function drawIndexedIndirect
| void drawIndexedIndirect(
std::span< const DrawIndexedIndirectCommand > drawCommands
)
|
function drawMeshTasks
| void drawMeshTasks(
const DrawMeshCommand & drawCommand
)
|
function drawMeshTasks
| void drawMeshTasks(
std::span< const DrawMeshCommand > drawCommands
)
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
const DrawMeshIndirectCommand & drawCommand
)
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
std::span< const DrawMeshIndirectCommand > drawCommands
)
|
function pushConstant
| void pushConstant(
const PushConstantRange & constantRange,
const void * data,
const Handle< PipelineLayout_t > & pipelineLayout ={}
)
|
function pushBindGroup
| void pushBindGroup(
uint32_t group,
std::span< const BindGroupEntry > bindGroupEntries,
const Handle< PipelineLayout_t > & pipelineLayout =Handle< PipelineLayout_t >()
)
|
function nextSubpass
| void setInputAttachmentMapping(
std::span< const uint32_t > colorAttachmentIndices,
std::optional< uint32_t > depthAttachmentIndex,
std::optional< uint32_t > stencilAttachmentIndex
)
|
function setOutputAttachmentMapping
| void setOutputAttachmentMapping(
std::span< const uint32_t > remappedOutputs
)
|
function end
Friends
friend CommandRecorder
| friend class CommandRecorder(
CommandRecorder
);
|
Updated on 2025-12-31 at 00:05:02 +0000