KDGpu::VulkanRenderPassCommandRecorder
Module: Vulkan
VulkanRenderPassCommandRecorder.
#include <vulkan_render_pass_command_recorder.h>
Inherits from KDGpu::ApiRenderPassCommandRecorder
Public Functions
|
Name |
|
VulkanRenderPassCommandRecorder(VkCommandBuffer _commandBuffer, VkRect2D _renderArea, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle) |
virtual void |
setPipeline(const Handle< GraphicsPipeline_t > & pipeline) |
virtual void |
setVertexBuffer(uint32_t index, const Handle< Buffer_t > & buffer, DeviceSize offset) |
virtual void |
setIndexBuffer(const Handle< Buffer_t > & buffer, DeviceSize offset, IndexType indexType) |
virtual void |
setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout, const std::vector< uint32_t > & dynamicBufferOffsets) |
virtual void |
setViewport(const Viewport & viewport) |
virtual void |
setScissor(const Rect2D & scissor) |
virtual void |
setStencilReference(StencilFaceFlags faceMask, int reference) |
virtual void |
draw(const DrawCommand & drawCommand) |
virtual void |
draw(const std::vector< DrawCommand > & drawCommands) |
virtual void |
drawIndexed(const DrawIndexedCommand & drawCommand) |
virtual void |
drawIndexed(const std::vector< DrawIndexedCommand > & drawCommands) |
virtual void |
drawIndirect(const DrawIndirectCommand & drawCommand) |
virtual void |
drawIndirect(const std::vector< DrawIndirectCommand > & drawCommands) |
virtual void |
drawIndexedIndirect(const DrawIndexedIndirectCommand & drawCommand) |
virtual void |
drawIndexedIndirect(const std::vector< DrawIndexedIndirectCommand > & drawCommands) |
virtual void |
pushConstant(const PushConstantRange & constantRange, const void * data) |
virtual void |
end() |
Public Attributes
Public Functions Documentation
function VulkanRenderPassCommandRecorder
| explicit VulkanRenderPassCommandRecorder(
VkCommandBuffer _commandBuffer,
VkRect2D _renderArea,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle
)
|
function setPipeline
| virtual void setPipeline(
const Handle< GraphicsPipeline_t > & pipeline
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setPipeline
function setVertexBuffer
| virtual void setVertexBuffer(
uint32_t index,
const Handle< Buffer_t > & buffer,
DeviceSize offset
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setVertexBuffer
function setIndexBuffer
| virtual void setIndexBuffer(
const Handle< Buffer_t > & buffer,
DeviceSize offset,
IndexType indexType
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setIndexBuffer
function setBindGroup
| virtual void setBindGroup(
uint32_t group,
const Handle< BindGroup_t > & bindGroup,
const Handle< PipelineLayout_t > & pipelineLayout,
const std::vector< uint32_t > & dynamicBufferOffsets
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setBindGroup
function setViewport
| virtual void setViewport(
const Viewport & viewport
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setViewport
function setScissor
| virtual void setScissor(
const Rect2D & scissor
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setScissor
function setStencilReference
| virtual void setStencilReference(
StencilFaceFlags faceMask,
int reference
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::setStencilReference
function draw
| virtual void draw(
const DrawCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::draw
function draw
| virtual void draw(
const std::vector< DrawCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::draw
function drawIndexed
| virtual void drawIndexed(
const DrawIndexedCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexed
function drawIndexed
| virtual void drawIndexed(
const std::vector< DrawIndexedCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexed
function drawIndirect
| virtual void drawIndirect(
const DrawIndirectCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndirect
function drawIndirect
| virtual void drawIndirect(
const std::vector< DrawIndirectCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndirect
function drawIndexedIndirect
| virtual void drawIndexedIndirect(
const DrawIndexedIndirectCommand & drawCommand
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexedIndirect
function drawIndexedIndirect
| virtual void drawIndexedIndirect(
const std::vector< DrawIndexedIndirectCommand > & drawCommands
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::drawIndexedIndirect
function pushConstant
| virtual void pushConstant(
const PushConstantRange & constantRange,
const void * data
)
|
Reimplements: KDGpu::ApiRenderPassCommandRecorder::pushConstant
function end
Reimplements: KDGpu::ApiRenderPassCommandRecorder::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 };
|
Updated on 2024-11-24 at 00:01:30 +0000