GEE_GlMaterial Class Reference

Material definition for OpenGL. More...

#include <gee_gl_material.h>

Collaboration diagram for GEE_GlMaterial:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Material definition for OpenGL.

Includes color, texture and shine values.


Constructor & Destructor Documentation

GEE_GlMaterial::GEE_GlMaterial float  shine,
const VEE_Rgba color,
GLuint  textureId = (GLuint)-1,
int  flags = GEE_MAT_LIGHTING|GEE_MAT_SMOOTH|GEE_MAT_TWO_SIDED
 

GEE_GlMaterial::GEE_GlMaterial  ) 
 

GEE_GlMaterial::~GEE_GlMaterial  )  [virtual]
 


Member Function Documentation

void GEE_GlMaterial::set float  shine,
const VEE_Rgba color,
GLuint  textureId = (GLuint) -1
[inline]
 

void GEE_GlMaterial::setShine float  s  )  [inline]
 

void GEE_GlMaterial::setFlags int  f  )  [inline]
 

void GEE_GlMaterial::setTextureId GLuint  i  )  [inline]
 

void GEE_GlMaterial::setColor const VEE_Rgba c  )  [inline]
 

Sets all colors at once.

void GEE_GlMaterial::setAmbient const VEE_Rgba color  )  [inline]
 

void GEE_GlMaterial::setDiffuse const VEE_Rgba color  )  [inline]
 

void GEE_GlMaterial::setSpecular const VEE_Rgba color  )  [inline]
 

void GEE_GlMaterial::applyGl GEE_GlRenderer  )  const
 

GLuint GEE_GlMaterial::textureId  )  const [inline]
 

const VEE_Rgba& GEE_GlMaterial::ambient  )  const [inline]
 

const VEE_Rgba& GEE_GlMaterial::diffuse  )  const [inline]
 

const VEE_Rgba& GEE_GlMaterial::specular  )  const [inline]
 

float GEE_GlMaterial::uvScale  )  const [inline]
 

void GEE_GlMaterial::setUvScale float  uvScale  )  [inline]
 

bool GEE_GlMaterial::useVertexColors  )  const [inline]
 

void GEE_GlMaterial::setUseVertexColors bool  useColors  )  [inline]
 


Member Data Documentation

GLuint GEE_GlMaterial::m_textureId [protected]
 

float GEE_GlMaterial::m_shine [protected]
 

VEE_Rgba GEE_GlMaterial::m_ambient [protected]
 

VEE_Rgba GEE_GlMaterial::m_diffuse [protected]
 

VEE_Rgba GEE_GlMaterial::m_specular [protected]
 

float GEE_GlMaterial::m_uvScale [protected]
 

int GEE_GlMaterial::m_flags [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:04 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6