Assimp
v4.1. (December 2018)
|
Data structure for a single material property. More...
Public Member Functions | |
Object | getData () |
Binary buffer to hold the property's value. More... | |
int | getIndex () |
Textures: Specifies the index of the texture. More... | |
String | getKey () |
Returns the key of the property. More... | |
int | getSemantic () |
Textures: Specifies their exact usage semantic. More... | |
PropertyType | getType () |
Type information for the property. More... | |
Data structure for a single material property.
As an user, you'll probably never need to deal with this data structure. Just use the provided get() family of functions to query material properties easily.
|
inline |
Binary buffer to hold the property's value.
The size of the buffer is always mDataLength.
|
inline |
Textures: Specifies the index of the texture.
For non-texture properties, this member is always 0.
|
inline |
Returns the key of the property.
Keys are generally case insensitive.
|
inline |
Textures: Specifies their exact usage semantic.
For non-texture properties, this member is always 0 (or, better-said, aiTextureType_NONE).
|
inline |
Type information for the property.
Defines the data layout inside the data buffer. This is used by the library internally to perform debug checks and to utilize proper type conversions. (It's probably a hacky solution, but it works.)