2021-06-15 15:04:17 +08:00
|
|
|
|
#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>
|
2021-06-10 18:56:23 +08:00
|
|
|
|
namespace hgl
|
|
|
|
|
{
|
|
|
|
|
namespace graph
|
|
|
|
|
{
|
2022-06-24 21:06:38 +08:00
|
|
|
|
class Renderable;
|
2023-05-07 01:07:26 +08:00
|
|
|
|
class Material;
|
|
|
|
|
class GPUDevice;
|
|
|
|
|
struct VertexInputData;
|
|
|
|
|
struct IndexBufferData;
|
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>;
|
|
|
|
|
}//namespace graph
|
|
|
|
|
}//namespace hgl
|
2021-06-10 18:56:23 +08:00
|
|
|
|
#endif//HGL_GRAPH_RENDER_NODE_INCLUDE
|