Contents Functions Classes Topics User Forum CVS

G3D::GMaterial Class Reference

#include <PosedModel.h>

List of all members.

Public Member Functions

 GMaterial ()
void configure (class RenderDevice *rd) const

Public Attributes

double specularCoefficient
double shininess
Color4 color
Array< TextureReftexture


Detailed Description

Simple material used by IFSModel and MD2Model pose methods. This class is provided as a convenience; it is not necessary to use it. If you do not provide a material, whatever state is currently on the G3D::RenderDevice is used. You probably don't want to use GMaterial at all if you are writing vertex and pixel programs.


Constructor & Destructor Documentation

G3D::GMaterial::GMaterial  )  [inline]
 


Member Function Documentation

void G3D::GMaterial::configure class RenderDevice rd  )  const
 

Applies this material to the render device


Member Data Documentation

Color4 G3D::GMaterial::color
 

double G3D::GMaterial::shininess
 

double G3D::GMaterial::specularCoefficient
 

Array<TextureRef> G3D::GMaterial::texture
 


The documentation for this class was generated from the following file:
Generated on Mon Jul 17 11:50:48 2006 for G3D by doxygen 1.4.5
Hosted by SourceForge.net Logo