ULRE/inc/hgl/graph/RenderNode.h

26 lines
574 B
C
Raw Normal View History

#ifndef HGL_GRAPH_RENDER_NODE_INCLUDE
2021-06-10 18:56:23 +08:00
#define HGL_GRAPH_RENDER_NODE_INCLUDE
2023-05-07 01:07:26 +08:00
#include<hgl/graph/VK.h>
#include<hgl/type/SortedSets.h>
2021-06-10 18:56:23 +08:00
namespace hgl
{
namespace graph
{
class Renderable;
class MaterialInstance;
2021-06-10 18:56:23 +08:00
2023-04-25 18:08:26 +08:00
struct RenderNode
{
2023-05-07 01:07:26 +08:00
Matrix4f local_to_world;
Renderable *ri;
2023-04-25 18:08:26 +08:00
};
2023-05-07 01:07:26 +08:00
using RenderNodeList=List<RenderNode>;
using MaterialInstanceSets=SortedSets<MaterialInstance *>; ///<材质实例集合
2023-05-07 01:07:26 +08:00
}//namespace graph
}//namespace hgl
2021-06-10 18:56:23 +08:00
#endif//HGL_GRAPH_RENDER_NODE_INCLUDE