Main Page | Namespace List | Class List | Directories | File List | Namespace Members | Class Members | File Members

IMaterial Class Reference

Interface to use Maya materials properties in a GPU shader. More...

#include <imaterial.h>

List of all members.

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


Detailed Description

Interface to use Maya materials properties in a GPU shader.

module : Material Properties

project : icaster

description: GPU binding


The documentation for this class was generated from the following files:
Generated on Sat Dec 31 18:07:49 2005 for ICaster by  doxygen 1.4.4