2 #ifndef KJY_OBJECT_ORIENTED_OPENGL_TINY_GLTF_UTILITY_HPP_ 3 #define KJY_OBJECT_ORIENTED_OPENGL_TINY_GLTF_UTILITY_HPP_ 4 #include "world/Scene.hpp" 5 #include "graphics/GltfScenePopulator.hpp" 7 enum class GLTFformat{AUTO, ASCII, BINARY};
9 Scene load_gltf_as_scene(
const std::string& gltf_path, GLTFformat format = GLTFformat::AUTO,
const std::vector<ExtrasExtension*>& aExtensions = {});
10 Scene load_gltf_as_scene(std::istream& gltf_stream, GLTFformat format,
const std::vector<ExtrasExtension*>& aExtensions = {});
12 EmptyEntity* load_gltf_into_scene(
const std::string& gltf_path,
Scene* scene, GLTFformat format = GLTFformat::AUTO,
const std::vector<ExtrasExtension*>& aExtensions = {});
13 EmptyEntity* load_gltf_into_scene(std::istream& gltf_stream,
Scene* scene, GLTFformat format,
const std::vector<ExtrasExtension*>& aExtensions = {});
Definition: EntitiesBase.hpp:74