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

Public Member Functions

 LoadGltf_from_string (GameApi::Env &e, std::string data, std::string base_url, std::string url, std::string homepage, bool is_binary)
 ~LoadGltf_from_string ()
void unasync ()
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void PrePrePrepare (int i, FETCHID id)
void PrePrepare ()
void Prepare ()
void set_urls (std::string burl, std::string url2)
void execute ()
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Public Attributes

GameApi::Env & e
std::string base_url
std::string url
std::string data
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

Constructor & Destructor Documentation

◆ LoadGltf_from_string()

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

◆ ~LoadGltf_from_string()

LoadGltf_from_string::~LoadGltf_from_string ( )
inline

Member Function Documentation

◆ Collect()

void LoadGltf_from_string::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ execute()

void LoadGltf_from_string::execute ( )
inline

◆ HeavyPrepare()

void LoadGltf_from_string::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

◆ Prepare()

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

◆ PrePrepare()

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

◆ PrePrePrepare()

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

◆ set_urls()

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

◆ unasync()

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

Member Data Documentation

◆ async

bool LoadGltf_from_string::async =false

◆ async_vec

std::vector<bool> LoadGltf_from_string::async_vec

◆ base_url

std::string LoadGltf_from_string::base_url

◆ current_gltf_threads

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

◆ data

std::string LoadGltf_from_string::data

◆ decoder

GLTFImageDecoder* LoadGltf_from_string::decoder =0

◆ e

GameApi::Env& LoadGltf_from_string::e

◆ homepage

std::string LoadGltf_from_string::homepage

◆ is_binary

bool LoadGltf_from_string::is_binary

◆ m_vec2

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

◆ model

tinygltf::Model LoadGltf_from_string::model

◆ prepare_done

bool LoadGltf_from_string::prepare_done = false

◆ preprepare_done

bool LoadGltf_from_string::preprepare_done = false

◆ prepreprepare_done

bool LoadGltf_from_string::prepreprepare_done = false

◆ tiny

tinygltf::TinyGLTF LoadGltf_from_string::tiny

◆ url

std::string LoadGltf_from_string::url

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