Added Owner in SceneNode, and then have few other change.

This commit is contained in:
2024-10-20 23:17:04 +08:00
parent 0df9d64dcf
commit 83c1a067fe
5 changed files with 26 additions and 60 deletions

View File

@@ -44,7 +44,7 @@ public:
};//struct RenderPipelineIndex
/**
* 同一材质的对象渲染列表
* 同一材质与管线的渲染列表
*/
class MaterialRenderList
{
@@ -113,15 +113,9 @@ public:
void Add(SceneNode *);
void SetCameraInfo(CameraInfo *ci)
{
camera_info=ci;
}
void SetCameraInfo(CameraInfo *ci){camera_info=ci;}
void Clear()
{
rn_list.Clear();
}
void Clear(){rn_list.Clear();}
void End();