add DescriptorSets at RenderableInstance class. and renamed RenderableInstance::GetMIDescSets instead of GetDescriptorSets.

This commit is contained in:
2021-05-12 19:03:08 +08:00
parent 015a4d0b8e
commit 199cc5f6b1
4 changed files with 9 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ public:
cb->SetClearColor(0,clear_color.r,clear_color.g,clear_color.b);
cb->BeginRenderPass();
cb->BindPipeline(ri->GetPipeline());
cb->BindDescriptorSets(ri->GetDescriptorSets());
cb->BindDescriptorSets(ri->GetMIDescSets());
cb->BindVAB(ri);
if (ib)