Class xml_loader_t¶
Defined in File loader.hpp
Inheritance Relationships¶
Base Type¶
public wt::scene::loader::loader_t(Class loader_t)
Class Documentation¶
-
class xml_loader_t : public wt::scene::loader::loader_t¶
Scene loader from an XML data source.
- Param name:
scene name
- Param ctx:
context
- Param xml:
XML data stream
- Param user_defines:
user-defined variables (supplied externally from the scene file, e.g., via CLI arguments)
- Param callbacks:
loading progress callbacks
Public Functions
-
xml_loader_t(std::string name, const wt_context_t &ctx, std::istream &xml, const user_defines_t &user_defines = {}, std::optional<progress_callback_t> callbacks = {})¶
-
virtual ~xml_loader_t()¶