GraphicsAPI_2020C
Public Attributes | List of all members
aiMaterial Struct Reference

Data structure for a material. More...

#include <material.h>

Public Attributes

C_STRUCT aiMaterialProperty ** mProperties
 List of all material properties loaded. More...
 
unsigned int mNumProperties
 Number of properties in the data base.
 
unsigned int mNumAllocated
 Storage allocated.
 

Detailed Description

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).

Member Data Documentation

◆ mProperties

C_STRUCT aiMaterialProperty** aiMaterial::mProperties

List of all material properties loaded.


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