Refactoring graphics

This commit is contained in:
Dynamitos committed 2023-10-26 18:37:29 +02:00
1 parent 28e5c9ff01
commit 1ca861459c
113 files changed
+3131 -3221

No files matched your search

@@ -68,7 +68,7 @@ void DepthPrepass::render()
// ViewData => global, static
// Material => per material
// VertexData => per meshtype
// SceneData => per topology
// SceneData => per material instance
Gfx::PRenderCommand command = graphics->createRenderCommand("DepthRender");
Gfx::PPipelineLayout layout = graphics->createPipelineLayout(depthPrepassLayout);
layout->addDescriptorLayout(INDEX_MATERIAL, materialData.material->getDescriptorLayout());