Assimp
v4.1. (December 2018)
|
Manages lazy loading of the glTF top-level objects, and keeps a reference to them by ID It is the owner the loaded objects, so when it is destroyed it also deletes them. More...
Public Member Functions | |
Ref< T > | Create (const char *id) |
Ref< T > | Create (const std::string &id) |
Ref< T > | Get (const char *id) |
Ref< T > | Get (unsigned int i) |
LazyDict (Asset &asset, const char *dictId, const char *extId=0) | |
T & | operator[] (size_t i) |
unsigned int | Remove (const char *id) |
Ref< T > | Retrieve (unsigned int i) |
unsigned int | Size () const |
~LazyDict () | |
Friends | |
class | Asset |
class | AssetWriter |
Manages lazy loading of the glTF top-level objects, and keeps a reference to them by ID It is the owner the loaded objects, so when it is destroyed it also deletes them.
|
inline |
|
inline |
Ref< T > glTF2::LazyDict< T >::Create | ( | const char * | id | ) |
|
inline |
Ref< T > glTF2::LazyDict< T >::Get | ( | const char * | id | ) |
Ref< T > glTF2::LazyDict< T >::Get | ( | unsigned int | i | ) |
|
inline |
unsigned int glTF2::LazyDict< T >::Remove | ( | const char * | id | ) |
Ref< T > glTF2::LazyDict< T >::Retrieve | ( | unsigned int | i | ) |
|
inline |
|
friend |
|
friend |