added WriteMaterialInstance in RenderExtraBuffer

This commit is contained in:
2023-06-01 21:25:50 +08:00
parent e076b72f1a
commit f8fe0e46d6
4 changed files with 90 additions and 34 deletions

View File

@@ -2,12 +2,14 @@
#define HGL_GRAPH_RENDER_NODE_INCLUDE
#include<hgl/graph/VK.h>
#include<hgl/type/SortedSets.h>
namespace hgl
{
namespace graph
{
class Renderable;
class Material;
class MaterialInstance;
class GPUDevice;
struct VertexInputData;
struct IndexBufferData;
@@ -20,6 +22,8 @@ namespace hgl
};
using RenderNodeList=List<RenderNode>;
using MaterialInstanceSets=SortedSets<MaterialInstance *>;
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_RENDER_NODE_INCLUDE