1.used uvec2/ushort2 in AssignVBO
2.completed first step then merge MI buffer
This commit is contained in:
@@ -35,7 +35,7 @@ private:
|
||||
void Set(Renderable *);
|
||||
};
|
||||
|
||||
SortedSets<int> mi_id_set;
|
||||
MaterialInstanceSets mi_set;
|
||||
DataArray<RenderItem> ri_array;
|
||||
uint ri_count;
|
||||
|
||||
|
@@ -22,6 +22,8 @@ namespace hgl
|
||||
};
|
||||
|
||||
using RenderNodeList=List<RenderNode>;
|
||||
|
||||
using MaterialInstanceSets=SortedSets<MaterialInstance *>; ///<材质实例集合
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
#endif//HGL_GRAPH_RENDER_NODE_INCLUDE
|
||||
|
Reference in New Issue
Block a user