KDGpu::VulkanRenderPassCommandRecorder¶
Module: Vulkan
VulkanRenderPassCommandRecorder - Legacy VkRenderPass-based rendering backend. More...
#include <vulkan_render_pass_command_recorder.h>
Inherits from KDGpu::VulkanRenderPassCommandRecorderBase
Public Functions¶
| Name | |
|---|---|
| VulkanRenderPassCommandRecorder(VkCommandBuffer _commandBuffer, VkRect2D _renderArea, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle) | |
| void | nextSubpass() const |
| virtual void | end() const override |
Additional inherited members¶
Public Functions inherited from KDGpu::VulkanRenderPassCommandRecorderBase
| Name | |
|---|---|
| VulkanRenderPassCommandRecorderBase(VkCommandBuffer _commandBuffer, VkRect2D _renderArea, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle) | |
| virtual | ~VulkanRenderPassCommandRecorderBase() =default |
| 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 |
Public Attributes inherited from KDGpu::VulkanRenderPassCommandRecorderBase
| Name | |
|---|---|
| VkCommandBuffer | commandBuffer |
| VkRect2D | renderArea |
| VulkanResourceManager * | vulkanResourceManager |
| Handle< Device_t > | deviceHandle |
| Handle< GraphicsPipeline_t > | pipeline |
| bool | firstPipelineWasSet |
Detailed Description¶
1 | |
VulkanRenderPassCommandRecorder - Legacy VkRenderPass-based rendering backend.
Deprecated:
For new applications, use VulkanDynamicRenderPassCommandRecorder instead.
Backend implementation for legacy VkRenderPass and VkFramebuffer based rendering. This class inherits common functionality from VulkanRenderPassCommandRecorderBase and adds subpass-specific methods for pre-Vulkan 1.3 rendering.
Public Functions Documentation¶
function VulkanRenderPassCommandRecorder¶
1 2 3 4 5 6 | |
function nextSubpass¶
1 | |
function end¶
1 | |
Reimplements: KDGpu::VulkanRenderPassCommandRecorderBase::end
Updated on 2026-11-07 at 00:01:27 +0000