Class scene#
Defined in File scene.h
Nested Relationships#
Nested Types#
Class Documentation#
-
class scene#
Class to load files into.
The scene where files and meshes can be added and loaded into.
Example usage:
std::string path = ... f3d::engine eng(f3d::window::Type::NATIVE); f3d::scene& load = eng.getScene(); if (load.supports(path) { load.add(path); }
Unnamed Group
-
virtual scene &add(const std::filesystem::path &filePath) = 0#
Add and load provided files into the scene Already added file will NOT be reloaded
Unnamed Group
Public Functions
-
virtual bool supports(const std::filesystem::path &filePath) = 0#
Return true if provided file path is supported, false otherwise.
-
virtual scene &add(const std::filesystem::path &filePath) = 0#