Maratis Engine
Public Member Functions

MMaterial Class Reference

#include <MMaterial.h>

List of all members.

Public Member Functions

 MMaterial (void)
 MMaterial (const MMaterial &material)
 ~MMaterial (void)
void setType (int type)
int getType (void)
void setFXId (unsigned int FXId)
unsigned int getFXId (void)
void setBlendMode (M_BLENDING_MODES blendMode)
M_BLENDING_MODES getBlendMode (void)
void setOpacity (float opacity)
void setShininess (float shininess)
void setCustomValue (float customValue)
void setDiffuse (const MVector3 &diffuse)
void setSpecular (const MVector3 &specular)
void setEmit (const MVector3 &emit)
void setCustomColor (const MVector3 &customColor)
float getOpacity (void)
float getShininess (void)
float getCustomValue (void)
MVector3getEmit (void)
MVector3getDiffuse (void)
MVector3getSpecular (void)
MVector3getCustomColor (void)
void allocTexturesPass (unsigned int size)
void clearTexturesPass (void)
void addTexturePass (MTexture *texture, M_TEX_COMBINE_MODES combineMode, unsigned int mapChannel)
unsigned int getTexturesPassNumber (void)
MTexturePassgetTexturePass (unsigned int id)

Constructor & Destructor Documentation

MMaterial::MMaterial ( void  )
MMaterial::MMaterial ( const MMaterial material)
MMaterial::~MMaterial ( void  )

Member Function Documentation

void MMaterial::addTexturePass ( MTexture texture,
M_TEX_COMBINE_MODES  combineMode,
unsigned int  mapChannel 
)
void MMaterial::allocTexturesPass ( unsigned int  size)
void MMaterial::clearTexturesPass ( void  )
M_BLENDING_MODES MMaterial::getBlendMode ( void  ) [inline]
MVector3* MMaterial::getCustomColor ( void  ) [inline]
float MMaterial::getCustomValue ( void  ) [inline]
MVector3* MMaterial::getDiffuse ( void  ) [inline]
MVector3* MMaterial::getEmit ( void  ) [inline]
unsigned int MMaterial::getFXId ( void  ) [inline]
float MMaterial::getOpacity ( void  ) [inline]
float MMaterial::getShininess ( void  ) [inline]
MVector3* MMaterial::getSpecular ( void  ) [inline]
MTexturePass* MMaterial::getTexturePass ( unsigned int  id) [inline]
unsigned int MMaterial::getTexturesPassNumber ( void  ) [inline]
int MMaterial::getType ( void  ) [inline]
void MMaterial::setBlendMode ( M_BLENDING_MODES  blendMode) [inline]
void MMaterial::setCustomColor ( const MVector3 customColor) [inline]
void MMaterial::setCustomValue ( float  customValue) [inline]
void MMaterial::setDiffuse ( const MVector3 diffuse) [inline]
void MMaterial::setEmit ( const MVector3 emit) [inline]
void MMaterial::setFXId ( unsigned int  FXId) [inline]
void MMaterial::setOpacity ( float  opacity) [inline]
void MMaterial::setShininess ( float  shininess) [inline]
void MMaterial::setSpecular ( const MVector3 specular) [inline]
void MMaterial::setType ( int  type) [inline]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines