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

Public Member Functions

 LoadGltf (GameApi::Env &e, std::string base_url, std::string url, std::string homepage, bool is_binary)
 LoadGltf (GameApi::Env &e, std::string base_url, std::string url, std::string homepage, bool is_binary, void(*fptr2)(void(*f)(void *), void *d))
void set_model (GLTFModelInterface *interface)
 ~LoadGltf ()
void unasync ()
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void async_join_cb ()
void bitmap_thread_async_join_cb ()
void PrePrePrepare (int i, FETCHID id)
void PrePrepare ()
void Prepare ()
void set_urls (std::string burl, std::string url2)
void splitter_cb ()
void execute ()
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Public Attributes

GameApi::Env & e
GLTFModelInterface * m_interface =0
std::string base_url
std::string url
std::string homepage
bool is_binary
tinygltf::TinyGLTF tiny
tinygltf::Model model
bool prepare_done = false
GLTFImageDecoder * decoder =0
bool preprepare_done = false
bool prepreprepare_done = false
std::vector< ThreadInfo_gltf_bitmap * > current_gltf_threads
bool async =false
std::vector< bool > async_vec
std::vector< char > * m_vec2 =0
bool tinygltf_ready_flag =false
bool bitmap_async_done =false
bool bitmap_async_firsttime =true
bool loadgltf_firsttime =true
bool loadgltf_firsttime2 =true
bool zip_done_firsttime =true
int m_3008_id
int splitter_logo_id
int mlguiwidget_logo_id
bool is_in_splitter_cb =false
int m_loadgltf_unique_id = -1
int m_decode_mutex_id =-1

Constructor & Destructor Documentation

◆ LoadGltf() [1/2]

LoadGltf::LoadGltf ( GameApi::Env & e,
std::string base_url,
std::string url,
std::string homepage,
bool is_binary )
inline

◆ LoadGltf() [2/2]

LoadGltf::LoadGltf ( GameApi::Env & e,
std::string base_url,
std::string url,
std::string homepage,
bool is_binary,
void(* fptr2 )(void(*f)(void *), void *d) )
inline

◆ ~LoadGltf()

LoadGltf::~LoadGltf ( )
inline

Member Function Documentation

◆ async_join_cb()

void LoadGltf::async_join_cb ( )
inline
Here is the caller graph for this function:

◆ bitmap_thread_async_join_cb()

void LoadGltf::bitmap_thread_async_join_cb ( )
inline
Here is the caller graph for this function:

◆ Collect()

void LoadGltf::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ execute()

void LoadGltf::execute ( )
inline
Here is the caller graph for this function:

◆ HeavyPrepare()

void LoadGltf::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

Here is the caller graph for this function:

◆ Prepare()

void LoadGltf::Prepare ( )
inline
Here is the caller graph for this function:

◆ PrePrepare()

void LoadGltf::PrePrepare ( )
inline
Here is the caller graph for this function:

◆ PrePrePrepare()

void LoadGltf::PrePrePrepare ( int i,
FETCHID id )
inline
Here is the caller graph for this function:

◆ set_model()

void LoadGltf::set_model ( GLTFModelInterface * interface)
inline
Here is the caller graph for this function:

◆ set_urls()

void LoadGltf::set_urls ( std::string burl,
std::string url2 )
inline

◆ splitter_cb()

void LoadGltf::splitter_cb ( )
inline
Here is the caller graph for this function:

◆ unasync()

void LoadGltf::unasync ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ async

bool LoadGltf::async =false

◆ async_vec

std::vector<bool> LoadGltf::async_vec

◆ base_url

std::string LoadGltf::base_url

◆ bitmap_async_done

bool LoadGltf::bitmap_async_done =false

◆ bitmap_async_firsttime

bool LoadGltf::bitmap_async_firsttime =true

◆ current_gltf_threads

std::vector<ThreadInfo_gltf_bitmap*> LoadGltf::current_gltf_threads

◆ decoder

GLTFImageDecoder* LoadGltf::decoder =0

◆ e

GameApi::Env& LoadGltf::e

◆ homepage

std::string LoadGltf::homepage

◆ is_binary

bool LoadGltf::is_binary

◆ is_in_splitter_cb

bool LoadGltf::is_in_splitter_cb =false

◆ loadgltf_firsttime

bool LoadGltf::loadgltf_firsttime =true

◆ loadgltf_firsttime2

bool LoadGltf::loadgltf_firsttime2 =true

◆ m_3008_id

int LoadGltf::m_3008_id

◆ m_decode_mutex_id

int LoadGltf::m_decode_mutex_id =-1

◆ m_interface

GLTFModelInterface* LoadGltf::m_interface =0

◆ m_loadgltf_unique_id

int LoadGltf::m_loadgltf_unique_id = -1

◆ m_vec2

std::vector<char>* LoadGltf::m_vec2 =0

◆ mlguiwidget_logo_id

int LoadGltf::mlguiwidget_logo_id

◆ model

tinygltf::Model LoadGltf::model

◆ prepare_done

bool LoadGltf::prepare_done = false

◆ preprepare_done

bool LoadGltf::preprepare_done = false

◆ prepreprepare_done

bool LoadGltf::prepreprepare_done = false

◆ splitter_logo_id

int LoadGltf::splitter_logo_id

◆ tiny

tinygltf::TinyGLTF LoadGltf::tiny

◆ tinygltf_ready_flag

bool LoadGltf::tinygltf_ready_flag =false

◆ url

std::string LoadGltf::url

◆ zip_done_firsttime

bool LoadGltf::zip_done_firsttime =true

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