added SortedSets<MaterialInstance *> at RenderNode.h/.cpp

This commit is contained in:
2023-05-12 21:37:28 +08:00
parent d5b69fbe71
commit aa217c6fc5
3 changed files with 57 additions and 14 deletions

View File

@@ -3,6 +3,7 @@
#include<hgl/math/Math.h>
#include<hgl/type/Map.h>
#include<hgl/type/SortedSets.h>
#include<hgl/graph/VK.h>
namespace hgl
{
@@ -55,6 +56,7 @@ namespace hgl
void Set(Renderable *);
};
SortedSets<MaterialInstance *> mi_set;
List<RenderItem> ri_list;
uint ri_count;