forked from Dynamitos/Seele
Refactoring graphics
This commit is contained in:
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());
|
||||
|
||||
Reference in new issue
Block a user