KDGpu::VulkanRenderPassCommandRecorder
Module: Vulkan
VulkanRenderPassCommandRecorder.
#include <vulkan_render_pass_command_recorder.h>
Public Functions
|
Name |
|
VulkanRenderPassCommandRecorder(VkCommandBuffer _commandBuffer, VkRect2D _renderArea, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, bool _dynamicRendering) |
| void |
setPipeline(const Handle< GraphicsPipeline_t > & pipeline) |
| void |
setVertexBuffer(uint32_t index, const Handle< Buffer_t > & buffer, DeviceSize offset) const |
| void |
setIndexBuffer(const Handle< Buffer_t > & buffer, DeviceSize offset, IndexType indexType) const |
| void |
setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout, std::span< const uint32_t > dynamicBufferOffsets) const |
| void |
setViewport(const Viewport & viewport) const |
| void |
setScissor(const Rect2D & scissor) const |
| void |
setStencilReference(StencilFaceFlags faceMask, int reference) const |
| void |
draw(const DrawCommand & drawCommand) const |
| void |
draw(std::span< const DrawCommand > drawCommands) const |
| void |
drawIndexed(const DrawIndexedCommand & drawCommand) const |
| void |
drawIndexed(std::span< const DrawIndexedCommand > drawCommands) const |
| void |
drawIndirect(const DrawIndirectCommand & drawCommand) const |
| void |
drawIndirect(std::span< const DrawIndirectCommand > drawCommands) const |
| void |
drawIndexedIndirect(const DrawIndexedIndirectCommand & drawCommand) const |
| void |
drawIndexedIndirect(std::span< const DrawIndexedIndirectCommand > drawCommands) const |
| void |
drawMeshTasks(const DrawMeshCommand & drawCommand) const |
| void |
drawMeshTasks(std::span< const DrawMeshCommand > drawCommands) const |
| void |
drawMeshTasksIndirect(const DrawMeshIndirectCommand & drawCommand) const |
| void |
drawMeshTasksIndirect(std::span< const DrawMeshIndirectCommand > drawCommands) const |
| void |
pushConstant(const PushConstantRange & constantRange, const void * data, const Handle< PipelineLayout_t > & pipelineLayout ={}) const |
| void |
pushBindGroup(uint32_t group, std::span< const BindGroupEntry > bindGroupEntries, const Handle< PipelineLayout_t > & pipelineLayout ={}) const |
| void |
nextSubpass() const |
| void |
setInputAttachmentMapping(std::span< const uint32_t > colorAttachmentIndices, std::optional< uint32_t > depthAttachmentIndex, std::optional< uint32_t > stencilAttachmentIndex) const |
| void |
setOutputAttachmentMapping(std::span< const uint32_t > remappedOutputs) const |
| void |
end() const |
Public Attributes
Public Functions Documentation
function VulkanRenderPassCommandRecorder
| explicit VulkanRenderPassCommandRecorder(
VkCommandBuffer _commandBuffer,
VkRect2D _renderArea,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle,
bool _dynamicRendering
)
|
function setPipeline
| void setPipeline(
const Handle< GraphicsPipeline_t > & pipeline
)
|
function setVertexBuffer
| void setVertexBuffer(
uint32_t index,
const Handle< Buffer_t > & buffer,
DeviceSize offset
) const
|
function setIndexBuffer
| void setIndexBuffer(
const Handle< Buffer_t > & buffer,
DeviceSize offset,
IndexType indexType
) const
|
function setBindGroup
| void setBindGroup(
uint32_t group,
const Handle< BindGroup_t > & bindGroup,
const Handle< PipelineLayout_t > & pipelineLayout,
std::span< const uint32_t > dynamicBufferOffsets
) const
|
function setViewport
| void setViewport(
const Viewport & viewport
) const
|
function setScissor
| void setScissor(
const Rect2D & scissor
) const
|
function setStencilReference
| void setStencilReference(
StencilFaceFlags faceMask,
int reference
) const
|
function draw
| void draw(
const DrawCommand & drawCommand
) const
|
function draw
| void draw(
std::span< const DrawCommand > drawCommands
) const
|
function drawIndexed
| void drawIndexed(
const DrawIndexedCommand & drawCommand
) const
|
function drawIndexed
| void drawIndexed(
std::span< const DrawIndexedCommand > drawCommands
) const
|
function drawIndirect
| void drawIndirect(
const DrawIndirectCommand & drawCommand
) const
|
function drawIndirect
| void drawIndirect(
std::span< const DrawIndirectCommand > drawCommands
) const
|
function drawIndexedIndirect
| void drawIndexedIndirect(
const DrawIndexedIndirectCommand & drawCommand
) const
|
function drawIndexedIndirect
| void drawIndexedIndirect(
std::span< const DrawIndexedIndirectCommand > drawCommands
) const
|
function drawMeshTasks
| void drawMeshTasks(
const DrawMeshCommand & drawCommand
) const
|
function drawMeshTasks
| void drawMeshTasks(
std::span< const DrawMeshCommand > drawCommands
) const
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
const DrawMeshIndirectCommand & drawCommand
) const
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
std::span< const DrawMeshIndirectCommand > drawCommands
) const
|
function pushConstant
| void pushConstant(
const PushConstantRange & constantRange,
const void * data,
const Handle< PipelineLayout_t > & pipelineLayout ={}
) const
|
function pushBindGroup
| void pushBindGroup(
uint32_t group,
std::span< const BindGroupEntry > bindGroupEntries,
const Handle< PipelineLayout_t > & pipelineLayout ={}
) const
|
function nextSubpass
| void setInputAttachmentMapping(
std::span< const uint32_t > colorAttachmentIndices,
std::optional< uint32_t > depthAttachmentIndex,
std::optional< uint32_t > stencilAttachmentIndex
) const
|
function setOutputAttachmentMapping
| void setOutputAttachmentMapping(
std::span< const uint32_t > remappedOutputs
) const
|
function 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 };
|
variable dynamicRendering
| bool dynamicRendering { false };
|
Updated on 2025-12-31 at 00:05:02 +0000