Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::GMaterial Class Reference

Simple material used by IFSModel and MD2Model pose methods. More...

#include <PosedModel.h>

List of all members.

Public Member Functions

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

Public Attributes

Color4 color
double shininess
double specularCoefficient
Array< Texture::Reftexture


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


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:46 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo