split RenderCommand/TextureCommand from GPUCmdBuffer

This commit is contained in:
2020-10-28 12:30:44 +08:00
parent 672a14e656
commit 2e05e06b3f
18 changed files with 127 additions and 166 deletions

View File

@@ -11,7 +11,7 @@ namespace hgl
{
class RenderList
{
GPUCmdBuffer *cmd_buf;
RenderCommand *cmd_buf;
private:
@@ -41,7 +41,7 @@ namespace hgl
void Add (SceneNode *node) {if(node)scene_node_list.Add(node);}
void Clear () {scene_node_list.ClearData();}
bool Render(GPUCmdBuffer *);
bool Render (RenderCommand *);
};//class RenderList
}//namespace graph
}//namespace hgl