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) |
void |
setPipeline(const Handle< GraphicsPipeline_t > & pipeline) |
void |
setVertexBuffer(uint32_t index, const Handle< Buffer_t > & buffer, DeviceSize offset) |
void |
setIndexBuffer(const Handle< Buffer_t > & buffer, DeviceSize offset, IndexType indexType) |
void |
setBindGroup(uint32_t group, const Handle< BindGroup_t > & bindGroup, const Handle< PipelineLayout_t > & pipelineLayout, const std::vector< 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(const std::vector< DrawCommand > & drawCommands) |
void |
drawIndexed(const DrawIndexedCommand & drawCommand) |
void |
drawIndexed(const std::vector< DrawIndexedCommand > & drawCommands) |
void |
drawIndirect(const DrawIndirectCommand & drawCommand) |
void |
drawIndirect(const std::vector< DrawIndirectCommand > & drawCommands) |
void |
drawIndexedIndirect(const DrawIndexedIndirectCommand & drawCommand) |
void |
drawIndexedIndirect(const std::vector< DrawIndexedIndirectCommand > & drawCommands) |
void |
drawMeshTasks(const DrawMeshCommand & drawCommand) |
void |
drawMeshTasks(const std::vector< DrawMeshCommand > & drawCommands) |
void |
drawMeshTasksIndirect(const DrawMeshIndirectCommand & drawCommand) |
void |
drawMeshTasksIndirect(const std::vector< DrawMeshIndirectCommand > & drawCommands) |
void |
pushConstant(const PushConstantRange & constantRange, const void * data, const Handle< PipelineLayout_t > & pipelineLayout ={}) |
void |
nextSubpass() |
void |
end() |
Public Attributes
Public Functions Documentation
function VulkanRenderPassCommandRecorder
| explicit VulkanRenderPassCommandRecorder(
VkCommandBuffer _commandBuffer,
VkRect2D _renderArea,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle
)
|
function setPipeline
| void setPipeline(
const Handle< GraphicsPipeline_t > & pipeline
)
|
function setVertexBuffer
| void setVertexBuffer(
uint32_t index,
const Handle< Buffer_t > & buffer,
DeviceSize offset
)
|
function setIndexBuffer
| void setIndexBuffer(
const Handle< Buffer_t > & buffer,
DeviceSize offset,
IndexType indexType
)
|
function setBindGroup
| void setBindGroup(
uint32_t group,
const Handle< BindGroup_t > & bindGroup,
const Handle< PipelineLayout_t > & pipelineLayout,
const std::vector< 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(
const std::vector< DrawCommand > & drawCommands
)
|
function drawIndexed
| void drawIndexed(
const DrawIndexedCommand & drawCommand
)
|
function drawIndexed
| void drawIndexed(
const std::vector< DrawIndexedCommand > & drawCommands
)
|
function drawIndirect
| void drawIndirect(
const DrawIndirectCommand & drawCommand
)
|
function drawIndirect
| void drawIndirect(
const std::vector< DrawIndirectCommand > & drawCommands
)
|
function drawIndexedIndirect
| void drawIndexedIndirect(
const DrawIndexedIndirectCommand & drawCommand
)
|
function drawIndexedIndirect
| void drawIndexedIndirect(
const std::vector< DrawIndexedIndirectCommand > & drawCommands
)
|
function drawMeshTasks
| void drawMeshTasks(
const DrawMeshCommand & drawCommand
)
|
function drawMeshTasks
| void drawMeshTasks(
const std::vector< DrawMeshCommand > & drawCommands
)
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
const DrawMeshIndirectCommand & drawCommand
)
|
function drawMeshTasksIndirect
| void drawMeshTasksIndirect(
const std::vector< DrawMeshIndirectCommand > & drawCommands
)
|
function pushConstant
| void pushConstant(
const PushConstantRange & constantRange,
const void * data,
const Handle< PipelineLayout_t > & pipelineLayout ={}
)
|
function nextSubpass
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 };
|
Updated on 2024-12-22 at 00:01:23 +0000