Path Tracer
Public Attributes | List of all members
aiMaterial Struct Reference

Data structure for a material. More...

#include <material.h>

Public Attributes

C_STRUCT aiMaterialProperty ** mProperties
 
unsigned int mNumProperties
 
unsigned int mNumAllocated
 

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

◆ mNumAllocated

unsigned int aiMaterial::mNumAllocated

Storage allocated

◆ mNumProperties

unsigned int aiMaterial::mNumProperties

Number of properties in the data base

◆ mProperties

C_STRUCT aiMaterialProperty** aiMaterial::mProperties

List of all material properties loaded.


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