Solar::GlMaterialBank Class Reference

Collection of materials. More...

#include <GlMaterial.hpp>

Collaboration diagram for Solar::GlMaterialBank:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Attributes

Static Protected Attributes


Detailed Description

Collection of materials.


Constructor & Destructor Documentation

Solar::GlMaterialBank::GlMaterialBank  ) 
 

Solar::GlMaterialBank::~GlMaterialBank  )  [virtual]
 


Member Function Documentation

void Solar::GlMaterialBank::addMaterial const std::string &  ,
const GlMaterial
 

const GlMaterial & Solar::GlMaterialBank::getMaterial const std::string &  s  ) 
 

Gets a material by name.

If the material is not found, then the default material is returned.

void Solar::GlMaterialBank::addUsualColors  ) 
 

void Solar::GlMaterialBank::forceMaterial const std::string &  mat  )  [inline]
 

void Solar::GlMaterialBank::unforceMaterial  )  [inline]
 


Member Data Documentation

GlMaterial Solar::GlMaterialBank::m_default [static, protected]
 

The default material.

Usually just fairly normal gray.

std::map<std::string, GlMaterial> Solar::GlMaterialBank::m_materials [protected]
 

std::string Solar::GlMaterialBank::m_forceMaterial [protected]
 


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