add SceneGraph/SceneTreeToRenderList.cpp, GPUDataArray.h, SceneRoot.h

This commit is contained in:
2021-01-29 20:50:47 +08:00
parent ee35354d43
commit 07c761eab9
9 changed files with 205 additions and 70 deletions

23
inc/hgl/graph/SceneRoot.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef HGL_GRAPH_SCENE_ROOT_INCLUDE
#define HGL_GRAPH_SCENE_ROOT_INCLUDE
#include<hgl/graph/Camera.h>
namespace hgl
{
namespace graph
{
/**
* 场景根节点
*/
class SceneRoot
{
Camera *camera; ///<根相机
public:
};//class SceneRoot
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_SCENE_ROOT_INCLUDE