added g_desc_sets/ri_desc_sets, CreateMIDescriptorSets/GetGlobalDescriptorSets/GetRIDescriptorSets

This commit is contained in:
2021-06-15 21:20:57 +08:00
parent 9118ba8e9f
commit 0f42ab3987
5 changed files with 16 additions and 10 deletions

View File

@@ -86,16 +86,13 @@ private:
render_instance=db->CreateRenderableInstance(render_obj,material_instance,pipeline);
{
SceneNode *sn=render_root.CreateSubNode(scale(0.5,0.5));
sn->RIList.Add(render_instance);
}
render_root.CreateSubNode(scale(0.5,0.5),render_instance);
render_root.RefreshMatrix();
SceneTreeToRenderList st2rl(device);
st2rl.Expend(&render_list,&render_root,&cam);
st2rl.Expend(&render_list,cam.info,&render_root);
return(true);
}