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

SamplePolygonMaterial.h

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

00014     {
00015       // load texture and apply material settings to rasterizer
00016       if(this->m_texturename.Length() > 0)
00017       {
00018         //rasty->LoadTexture(m_texturename);
00019       }
00020     }
00021 };
00022 
00023 
00024 #endif  // __SAMPLEPOLYGONMATERIAL_H

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