1.used uvec2/ushort2 in AssignVBO

2.completed first step then merge MI buffer
This commit is contained in:
2023-09-20 15:55:14 +08:00
parent 00d2677066
commit dbe2370a44
9 changed files with 37 additions and 39 deletions

View File

@@ -35,7 +35,7 @@ private:
void Set(Renderable *);
};
SortedSets<int> mi_id_set;
MaterialInstanceSets mi_set;
DataArray<RenderItem> ri_array;
uint ri_count;

View File

@@ -22,6 +22,8 @@ namespace hgl
};
using RenderNodeList=List<RenderNode>;
using MaterialInstanceSets=SortedSets<MaterialInstance *>; ///<材质实例集合
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_RENDER_NODE_INCLUDE