#include <imaterial.h>
Public Member Functions | |
| IMaterial () | |
| Constructor, standard. | |
| ~IMaterial () | |
| Destructor. | |
| void | setMaterialProperties (MMaterial &blinnMaterial) |
| Set the material properties. | |
| void | registerShaderParameters (IShading *impl) |
| Bind CG Parameters. | |
| void | bindShaderParameters () const |
| shader parameter values | |
Private Attributes | |
| MColor | diffuseContribution |
| MColor | specularContribution |
| float | shinny |
| CGparameter | material_diffuse |
| CGparameter | material_specular |
| CGparameter | material_shinny |
module : Material Properties
project : icaster
description: GPU binding
1.4.4