Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GlutPolygonMaterial.h

Go to the documentation of this file.
00001 #ifndef __GLUTPOLYGONMATERIAL
00002 #define __GLUTPOLYGONMATERIAL
00003 
00004 #include "RAS_IPolygonMaterial.h"
00005 
00006 class GlutPolygonMaterial : public RAS_IPolyMaterial
00007 {
00008 public:
00009         GlutPolygonMaterial(const CCString& texname, bool ba,const CCString& matname,int tile,int mode,int transparant,int lightlayer
00010                 ,bool bIsTriangle,void* clientobject=NULL) :
00011         RAS_IPolyMaterial(texname, ba,matname,tile,mode,transparant,lightlayer,bIsTriangle,clientobject)
00012         {
00013         }
00014         virtual ~GlutPolygonMaterial()

00015         {
00016         }
00017         virtual                 void ActivateMaterial(class RAS_IRasterizer* rasty){
00018                 // load texture and apply material settings to rasterizer
00019                 if (this->m_texturename.Length() > 0)
00020                 {
00021                         //rasty->LoadTexture(m_texturename);
00022                 }
00023         }
00024 };
00025 
00026 #endif //__GLUTPOLYGONMATERIAL

Generated at Thu Feb 1 13:03:02 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000