Path Tracer
|
Data structure for a material. More...
#include <material.h>
Public Attributes | |
C_STRUCT aiMaterialProperty ** | mProperties |
unsigned int | mNumProperties |
unsigned int | mNumAllocated |
Data structure for a material.
Material data is stored using a key-value structure. A single key-value pair is called a 'material property'. C++ users should use the provided member functions of aiMaterial to process material properties, C users have to stick with the aiMaterialGetXXX family of unbound functions. The library defines a set of standard keys (AI_MATKEY_XXX).
unsigned int aiMaterial::mNumAllocated |
Storage allocated
unsigned int aiMaterial::mNumProperties |
Number of properties in the data base
C_STRUCT aiMaterialProperty** aiMaterial::mProperties |
List of all material properties loaded.