Class scene_bootstrap_generic_t¶
Defined in File bootstrap.hpp
Inheritance Relationships¶
Derived Type¶
public wt::scene::scene_bootstrap_t< SceneLoader, ADSCtor >
(Template Class scene_bootstrap_t)
Class Documentation¶
-
class scene_bootstrap_generic_t¶
Helper that constructs a scene and its accelerating data structure (ADS). Generic interface.
Subclassed by wt::scene::scene_bootstrap_t< SceneLoader, ADSCtor >
Public Functions
-
virtual ~scene_bootstrap_generic_t() = default¶
-
virtual std::unique_ptr<scene_t> get_scene() && = 0¶
Blocks and waits for scene loading to complete, and returns the constructed scene object.
-
virtual std::unique_ptr<wt::ads::ads_t> get_ads() && = 0¶
Blocks and waits for ADS construction to complete, and returns the constructed ADS object.
-
virtual const loader::loader_t *get_scene_loader() const noexcept = 0¶
Returns the scene loader object (may be null).
-
virtual void wait() const = 0¶
Blocks and waits for scene loading and ADS construction to complete.
-
virtual ~scene_bootstrap_generic_t() = default¶