Assimp
v4.1. (December 2018)
|
Helper class to allow post-processing steps to interact with each other. More...
Classes | |
struct | Base |
struct | THeapData |
Represents data that is allocated on the heap, thus needs to be deleted. More... | |
struct | TStaticData |
Represents static, by-value data not allocated on the heap. More... | |
Public Types | |
typedef unsigned int | KeyType |
typedef std::map< KeyType, Base * > | PropertyMap |
Public Member Functions | |
template<typename T > | |
void | AddProperty (const char *name, T *in) |
Add a heap property to the list. More... | |
template<typename T > | |
void | AddProperty (const char *name, T in) |
Add a static by-value property to the list. More... | |
void | Clean () |
Remove all stored properties from the table. More... | |
template<typename T > | |
bool | GetProperty (const char *name, T &out) const |
Get a static, by-value property. More... | |
template<typename T > | |
bool | GetProperty (const char *name, T *&out) const |
Get a heap property. More... | |
void | RemoveProperty (const char *name) |
Remove a property of a specific type. More... | |
~SharedPostProcessInfo () | |
Destructor. More... | |
Helper class to allow post-processing steps to interact with each other.
The class maintains a simple property list that can be used by pp-steps to provide additional information to other steps. This is primarily intended for cross-step optimizations.
typedef unsigned int Assimp::SharedPostProcessInfo::KeyType |
typedef std::map<KeyType, Base*> Assimp::SharedPostProcessInfo::PropertyMap |
|
inline |
Destructor.
|
inline |
Add a heap property to the list.
|
inline |
Add a static by-value property to the list.
|
inline |
Remove all stored properties from the table.
|
inline |
Get a static, by-value property.
|
inline |
Get a heap property.
|
inline |
Remove a property of a specific type.