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

Public Member Functions

std::string name () const
 GLTF_Model_with_prepare_sketchfab_zip (GameApi::Env &e, std::string zip_url, std::string homepage, LoadGltf *load, tinygltf::Model *model, void(*fptr)(void *), void *data)
 ~GLTF_Model_with_prepare_sketchfab_zip ()
void Zip_cb ()
void Zip_ready_cb ()
void Prepare ()
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void UncompressZip ()
void ZipDone ()
bool ReadyToFetch () const
virtual bool IsSketchFabZipASyncJoinImplementation () const
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 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

GameApi::Env & e
std::string zip_url
std::string homepage
LoadGltf * load
tinygltf::Model * model
bool firsttime =true
bool firsttime2 =true
bool firsttime3 =true
bool firsttime4 =true
std::string mainfilename
bool uncompress_done =false
bool uncompress_done2 =false
bool uncompress_done3 =false
bool async = false
mz_zip_archive pZip
void(* fptr )(void *)
void * data
bool uncompress_started =false
int m_zip_mutex_id =-1
Public Attributes inherited from GLTF_Model
tinygltf::Model * self
std::string base_url
std::string url

Constructor & Destructor Documentation

◆ GLTF_Model_with_prepare_sketchfab_zip()

GLTF_Model_with_prepare_sketchfab_zip::GLTF_Model_with_prepare_sketchfab_zip ( GameApi::Env & e,
std::string zip_url,
std::string homepage,
LoadGltf * load,
tinygltf::Model * model,
void(* fptr )(void *),
void * data )
inline

◆ ~GLTF_Model_with_prepare_sketchfab_zip()

GLTF_Model_with_prepare_sketchfab_zip::~GLTF_Model_with_prepare_sketchfab_zip ( )
inline

Member Function Documentation

◆ Collect()

void GLTF_Model_with_prepare_sketchfab_zip::Collect ( CollectVisitor & vis)
inlinevirtual

Reimplemented from GLTF_Model.

◆ execute()

void GLTF_Model_with_prepare_sketchfab_zip::execute ( )
inlinevirtual

Reimplemented from GLTF_Model.

Here is the caller graph for this function:

◆ get_load()

LoadGltf * GLTF_Model_with_prepare_sketchfab_zip::get_load ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ HeavyPrepare()

void GLTF_Model_with_prepare_sketchfab_zip::HeavyPrepare ( )
inlinevirtual

Reimplemented from GLTF_Model.

◆ IsSketchFabZipASyncJoinImplementation()

virtual bool GLTF_Model_with_prepare_sketchfab_zip::IsSketchFabZipASyncJoinImplementation ( ) const
inlinevirtual

Reimplemented from GLTFModelInterface.

◆ name()

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

Reimplemented from GLTF_Model.

◆ Prepare()

void GLTF_Model_with_prepare_sketchfab_zip::Prepare ( )
inlinevirtual

Reimplemented from GLTF_Model.

◆ ReadyToFetch()

bool GLTF_Model_with_prepare_sketchfab_zip::ReadyToFetch ( ) const
inlinevirtual

Reimplemented from GLTFModelInterface.

◆ UncompressZip()

void GLTF_Model_with_prepare_sketchfab_zip::UncompressZip ( )
inline
Here is the caller graph for this function:

◆ Zip_cb()

void GLTF_Model_with_prepare_sketchfab_zip::Zip_cb ( )
inline
Here is the caller graph for this function:

◆ Zip_ready_cb()

void GLTF_Model_with_prepare_sketchfab_zip::Zip_ready_cb ( )
inline

◆ ZipDone()

void GLTF_Model_with_prepare_sketchfab_zip::ZipDone ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ async

bool GLTF_Model_with_prepare_sketchfab_zip::async = false

◆ data

void* GLTF_Model_with_prepare_sketchfab_zip::data

◆ e

GameApi::Env& GLTF_Model_with_prepare_sketchfab_zip::e

◆ firsttime

bool GLTF_Model_with_prepare_sketchfab_zip::firsttime =true

◆ firsttime2

bool GLTF_Model_with_prepare_sketchfab_zip::firsttime2 =true

◆ firsttime3

bool GLTF_Model_with_prepare_sketchfab_zip::firsttime3 =true

◆ firsttime4

bool GLTF_Model_with_prepare_sketchfab_zip::firsttime4 =true

◆ fptr

void(* GLTF_Model_with_prepare_sketchfab_zip::fptr) (void *)

◆ homepage

std::string GLTF_Model_with_prepare_sketchfab_zip::homepage

◆ load

LoadGltf* GLTF_Model_with_prepare_sketchfab_zip::load

◆ m_zip_mutex_id

int GLTF_Model_with_prepare_sketchfab_zip::m_zip_mutex_id =-1

◆ mainfilename

std::string GLTF_Model_with_prepare_sketchfab_zip::mainfilename

◆ model

tinygltf::Model* GLTF_Model_with_prepare_sketchfab_zip::model

◆ pZip

mz_zip_archive GLTF_Model_with_prepare_sketchfab_zip::pZip

◆ uncompress_done

bool GLTF_Model_with_prepare_sketchfab_zip::uncompress_done =false

◆ uncompress_done2

bool GLTF_Model_with_prepare_sketchfab_zip::uncompress_done2 =false

◆ uncompress_done3

bool GLTF_Model_with_prepare_sketchfab_zip::uncompress_done3 =false

◆ uncompress_started

bool GLTF_Model_with_prepare_sketchfab_zip::uncompress_started =false

◆ zip_url

std::string GLTF_Model_with_prepare_sketchfab_zip::zip_url

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