Material::State Struct Reference

#include <Material.h>

Description

THe editable state of the Material.

Properties

Color ambient
 
Color diffuse
 
Color specular
 
float specularAmount
 
float diffuseAmount
 
float shininess
 
float userData [32]
 

Field Documentation

Color ambient

The ambient color of the material.

Color diffuse

The diffuse color of the material.

Color specular

The specular color of the material.

float specularAmount

The amount of specular light that should be allowed.

float diffuseAmount

The amount of diffuse light that should be allowed.

float shininess

The amount of reflected specular light.

float userData[32]

Data that depends on the drawing mode. In implementations that support shaders, this can be used as you see fit.


The documentation for this struct was generated from the following file:
  • /home/jc/git/Dynacoe/DynacoeSrc/includes/Dynacoe/Material.h