Files
simian/include/SceneLoader.h
T
nick 15e5d580da
CI / build-and-test (push) Successful in 2m4s
Sync Docs to Gitea Wiki / Sync docs to Gitea wiki (push) Failing after 8s
feat: Scenegraph
2026-03-08 15:37:25 +13:00

18 lines
475 B
C++

#pragma once
#include "entt.hpp"
#include <string>
class ModelManager;
class ShaderManager;
// Set global context used by scene loading
void SetSceneContext(entt::registry* registry, ModelManager* modelManager, ShaderManager* shaderManager);
// Load a scene from a TOML-like file. Returns the root entity (or entt::null on failure).
entt::entity LoadSceneFromFile(const std::string& path, bool clearExisting);
// Clear all entities from the registry
void ClearScene();