added SortedSets<MaterialInstance *> at RenderNode.h/.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -64,8 +64,6 @@ public:
|
||||
|
||||
bool SetMaterialInstance(const AnsiString &codes,const uint32_t length)
|
||||
{
|
||||
if(length>64)return(false);
|
||||
|
||||
if(length>0&&codes.Length()<4)return(false);
|
||||
|
||||
mi_length=length;
|
||||
|
Reference in New Issue
Block a user