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

RAS_IPolyMaterial Class Reference

Polygon Material on which the material buckets are sorted. More...

#include <RAS_IPolygonMaterial.h>

Inheritance diagram for RAS_IPolyMaterial:

GlutPolygonMaterial KX_BlenderPolyMaterial SamplePolygonMaterial List of all members.

Public Types

enum  MaterialFlags { BILLBOARD_SCREENALIGNED = 256, BILLBOARD_AXISALIGNED = 4096 }

Public Methods

 RAS_IPolyMaterial (const CCString& texname, bool ba,const CCString& matname,int tile,int mode,int transparant,int lightlayer ,bool bIsTriangle,void* clientobject=NULL)
bool Equals (const RAS_IPolyMaterial& lhs) const
int GetLightLayer ()
bool IsTransparant ()
bool UsesTriangles ()
unsigned int hash () const
int GetDrawingMode ()
virtual void ActivateMaterial (class RAS_IRasterizer* rasty) const
const CCStringGetMaterialName () const

Static Public Methods

void ClearCachingInfo ()

Protected Attributes

int m_tile
int m_drawingmode
int m_transparant
KX_HashedString m_texturename
CCString m_materialname
int m_lightlayer
bool m_bIsTriangle
void* m_clientobject

Static Protected Attributes

void* m_sCachingInfo = NULL

Detailed Description

Polygon Material on which the material buckets are sorted.

Definition at line 13 of file RAS_IPolygonMaterial.h.


Member Enumeration Documentation

enum RAS_IPolyMaterial::MaterialFlags
 

Enumeration values:
BILLBOARD_SCREENALIGNED  
BILLBOARD_AXISALIGNED  

Definition at line 30 of file RAS_IPolygonMaterial.h.


Constructor & Destructor Documentation

RAS_IPolyMaterial::RAS_IPolyMaterial ( const CCString & texname,
bool ba,
const CCString & matname,
int tile,
int mode,
int transparant,
int lightlayer,
bool bIsTriangle,
void * clientobject = NULL ) [inline]
 

Definition at line 36 of file RAS_IPolygonMaterial.h.


Member Function Documentation

void RAS_IPolyMaterial::ActivateMaterial ( class RAS_IRasterizer * rasty ) const [inline, virtual]
 

Reimplemented in KX_BlenderPolyMaterial.

Definition at line 67 of file RAS_IPolygonMaterial.h.

Referenced by RAS_MaterialBucket::Render().

void RAS_IPolyMaterial::ClearCachingInfo ( ) [inline, static]
 

Definition at line 59 of file RAS_IPolygonMaterial.h.

Referenced by KX_Renderbuckets().

bool RAS_IPolyMaterial::Equals ( const RAS_IPolyMaterial & lhs ) const [inline]
 

Definition at line 47 of file RAS_IPolygonMaterial.h.

Referenced by operator==().

int RAS_IPolyMaterial::GetDrawingMode ( ) [inline]
 

Definition at line 66 of file RAS_IPolygonMaterial.h.

Referenced by RAS_MaterialBucket::Render().

int RAS_IPolyMaterial::GetLightLayer ( ) [inline]
 

Definition at line 58 of file RAS_IPolygonMaterial.h.

Referenced by RAS_MaterialBucket::Render().

const CCString & RAS_IPolyMaterial::GetMaterialName ( ) const [inline]
 

Definition at line 68 of file RAS_IPolygonMaterial.h.

bool RAS_IPolyMaterial::IsTransparant ( ) [inline]
 

Definition at line 63 of file RAS_IPolygonMaterial.h.

Referenced by RAS_MaterialBucket::IsTransparant().

bool RAS_IPolyMaterial::UsesTriangles ( ) [inline]
 

Definition at line 64 of file RAS_IPolygonMaterial.h.

Referenced by RAS_MeshObject::SchedulePoly().

unsigned int RAS_IPolyMaterial::hash ( ) const [inline]
 

Definition at line 65 of file RAS_IPolygonMaterial.h.


Member Data Documentation

bool RAS_IPolyMaterial::m_bIsTriangle [protected]
 

Definition at line 24 of file RAS_IPolygonMaterial.h.

void * RAS_IPolyMaterial::m_clientobject [protected]
 

Definition at line 25 of file RAS_IPolygonMaterial.h.

int RAS_IPolyMaterial::m_drawingmode [protected]
 

Definition at line 19 of file RAS_IPolygonMaterial.h.

int RAS_IPolyMaterial::m_lightlayer [protected]
 

Definition at line 23 of file RAS_IPolygonMaterial.h.

CCString RAS_IPolyMaterial::m_materialname [protected]
 

Definition at line 22 of file RAS_IPolygonMaterial.h.

void * RAS_IPolyMaterial::m_sCachingInfo = NULL [static, protected]
 

Definition at line 18 of file RAS_MaterialBucket.cpp.

KX_HashedString RAS_IPolyMaterial::m_texturename [protected]
 

Definition at line 21 of file RAS_IPolygonMaterial.h.

int RAS_IPolyMaterial::m_tile [protected]
 

Definition at line 18 of file RAS_IPolygonMaterial.h.

int RAS_IPolyMaterial::m_transparant [protected]
 

Definition at line 20 of file RAS_IPolygonMaterial.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:49 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000