在SceneNode中增加main_scene数据,每个添加到当前场景的SceneNode,都会同步Scene数据。

This commit is contained in:
2025-07-24 01:28:16 +08:00
parent f013d8327d
commit 85020572bc
4 changed files with 70 additions and 9 deletions

View File

@@ -32,10 +32,10 @@ namespace hgl
//以下数据均取自RenderFramework
graph::RenderResource *db=nullptr; //暂时的,未来会被更好的机制替代
graph::RenderResource * db =nullptr; //暂时的,未来会被更好的机制替代
graph::Scene * scene=nullptr; //场景
graph::Renderer * renderer=nullptr; //渲染器
graph::Scene * scene =nullptr; //场景
graph::Renderer * renderer=nullptr; //渲染器
public: