GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GLTF_Model_with_prepare Class Reference
Inheritance diagram for GLTF_Model_with_prepare:
Collaboration diagram for GLTF_Model_with_prepare:

Public Member Functions

std::string name () const
 GLTF_Model_with_prepare (LoadGltf *load, tinygltf::Model *model)
virtual void Prepare ()
virtual void Collect (CollectVisitor &vis)
virtual void HeavyPrepare ()
virtual void execute ()
LoadGltf * get_load () const
Public Member Functions inherited from GLTF_Model
 GLTF_Model (tinygltf::Model *model, std::string base_url, std::string url)
virtual std::string BaseUrl () const
virtual std::string Url () const
virtual int get_default_scene () const
virtual int accessors_size () const
virtual const tinygltf::Accessor & get_accessor (int i) const
virtual int animations_size () const
virtual const tinygltf::Animation & get_animation (int i) const
virtual int buffers_size () const
virtual const tinygltf::Buffer & get_buffer (int i) const
virtual int bufferviews_size () const
virtual const tinygltf::BufferView & get_bufferview (int i) const
virtual int materials_size () const
virtual const tinygltf::Material & get_material (int i) const
virtual int meshes_size () const
virtual const tinygltf::Mesh & get_mesh (int i) const
virtual int nodes_size () const
virtual const tinygltf::Node & get_node (int i) const
virtual int textures_size () const
virtual const tinygltf::Texture & get_texture (int i) const
virtual int images_size () const
virtual const tinygltf::Image & get_image (int i) const
virtual int skins_size () const
virtual const tinygltf::Skin & get_skin (int i) const
virtual int samplers_size () const
virtual const tinygltf::Sampler & get_sampler (int i) const
virtual int cameras_size () const
virtual const tinygltf::Camera & get_camera (int i) const
virtual int scenes_size () const
virtual const tinygltf::Scene & get_scene (int i) const
virtual int lights_size () const
virtual const tinygltf::Light & get_light (int i) const
Public Member Functions inherited from GLTFModelInterface
virtual ~GLTFModelInterface ()
virtual bool ReadyToPrepare () const
virtual bool ReadyToFetch () const
virtual bool IsSketchFabZipASyncJoinImplementation () const
virtual void set_loadgltf_unique_id (int id)
virtual bool Ready () const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Public Attributes

LoadGltf * load =0
tinygltf::Model * model =0
bool firsttime
Public Attributes inherited from GLTF_Model
tinygltf::Model * self
std::string base_url
std::string url

Constructor & Destructor Documentation

◆ GLTF_Model_with_prepare()

GLTF_Model_with_prepare::GLTF_Model_with_prepare ( LoadGltf * load,
tinygltf::Model * model )
inline

Member Function Documentation

◆ Collect()

virtual void GLTF_Model_with_prepare::Collect ( CollectVisitor & vis)
inlinevirtual

Reimplemented from GLTF_Model.

◆ execute()

virtual void GLTF_Model_with_prepare::execute ( )
inlinevirtual

Reimplemented from GLTF_Model.

◆ get_load()

LoadGltf * GLTF_Model_with_prepare::get_load ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ HeavyPrepare()

virtual void GLTF_Model_with_prepare::HeavyPrepare ( )
inlinevirtual

Reimplemented from GLTF_Model.

Here is the caller graph for this function:

◆ name()

std::string GLTF_Model_with_prepare::name ( ) const
inlinevirtual

Reimplemented from GLTF_Model.

◆ Prepare()

virtual void GLTF_Model_with_prepare::Prepare ( )
inlinevirtual

Reimplemented from GLTF_Model.

Member Data Documentation

◆ firsttime

bool GLTF_Model_with_prepare::firsttime

◆ load

LoadGltf* GLTF_Model_with_prepare::load =0

◆ model

tinygltf::Model* GLTF_Model_with_prepare::model =0

The documentation for this class was generated from the following file: