SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::Renderer::DGCLayoutBuilder Class Reference

This Class is a helper for Building GDC Layout. Only instanced during CreateDeviceGeneratedCommandsLayout(). More...

#include <Renderer.h>

Public Member Functions

 DGCLayoutBuilder (const std::string &subPassName, Renderer *renderer)
 Constructor Function.
 
virtual ~DGCLayoutBuilder ()=default
 Destructor Function.
 
DGCLayoutBuilderAddShaderGroupInput ()
 Add Binding Shader Group Command to Input.
 
DGCLayoutBuilderAddVertexBufferInput ()
 Add Binding Vertex Buffer to Input.
 
DGCLayoutBuilderAddIndexBufferInput ()
 Add Binding Index Buffer to Input.
 
DGCLayoutBuilderAddPushConstantInput ()
 Add Binding PushConstant Command to Input.
 
DGCLayoutBuilderAddDrawIndexedInput ()
 Add Draw Indexed Command to Input.
 
DGCLayoutBuilderAddDrawMeshTaskInput ()
 Add Draw Mesh Task Command to Input.
 
void Build () const
 Create GDC Layout.
 

Private Attributes

Rendererm_Renderer
 Specific Renderer pointer. Passed while this class instanced.
 
std::string m_SubPassName
 Specific SubPass Name. Passed while this class instanced.
 
std::vector< VkIndirectCommandsLayoutTokenNV > m_InputInfos
 Stores command inputs.
 
std::shared_ptr< VulkanDeviceGeneratedCommandsNVm_HandledDGCData
 Current SubPass DGC Data.
 

Detailed Description

This Class is a helper for Building GDC Layout. Only instanced during CreateDeviceGeneratedCommandsLayout().

Definition at line 895 of file Renderer.h.


The documentation for this class was generated from the following files: