载入中...
搜索中...
未找到
NodeDesc.h 文件参考
#include <string>
#include <utility>
#include <vector>

浏览源代码.

struct  eve::scene::NodeDesc
 Declarative scene-node description (build once / on dirty → flatten into SceneHost::Tree). Isomorphic to eve::ui::WidgetDesc. 更多...
 

命名空间

namespace  eve
 
namespace  eve::scene
 

函数

NodeDesc eve::scene::node (std::string id, std::vector< NodeDesc > children, std::string name)
 
NodeDesc eve::scene::group (std::vector< NodeDesc > children, std::string id)
 
NodeDesc eve::scene::when (bool cond, NodeDesc child)
 Conditional: include child only when cond is true (empty group otherwise).
 
NodeDesc eve::scene::whenElse (bool cond, NodeDesc ifTrue, NodeDesc ifFalse)
 
void eve::scene::applyTree (SceneHost *host, NodeDesc root)
 
bool eve::scene::applyTreeReconcile (SceneHost *host, NodeDesc root)
 Key-aware patch when structure matches; else full replace. Returns true if full rebuild.