Maratis Engine
Public Member Functions | Static Public Member Functions

MShaderRef Class Reference

#include <MShaderRef.h>

Inheritance diagram for MShaderRef:
MDataRef

List of all members.

Public Member Functions

 MShaderRef (unsigned int shaderId, M_SHADER_TYPES type, const char *filename)
 ~MShaderRef (void)
void clear (void)
void destroy (void)
void update (void)
int getType (void)
void setShaderId (unsigned int shaderId)
unsigned int getShaderId (void)
M_SHADER_TYPES getShaderType (void)

Static Public Member Functions

static MShaderRefgetNew (unsigned int shaderId, M_SHADER_TYPES type, const char *filename)

Constructor & Destructor Documentation

MShaderRef::MShaderRef ( unsigned int  shaderId,
M_SHADER_TYPES  type,
const char *  filename 
)
MShaderRef::~MShaderRef ( void  )

Member Function Documentation

void MShaderRef::clear ( void  ) [virtual]

Implements MDataRef.

void MShaderRef::destroy ( void  ) [virtual]

Implements MDataRef.

MShaderRef * MShaderRef::getNew ( unsigned int  shaderId,
M_SHADER_TYPES  type,
const char *  filename 
) [static]
unsigned int MShaderRef::getShaderId ( void  ) [inline]
M_SHADER_TYPES MShaderRef::getShaderType ( void  ) [inline]
int MShaderRef::getType ( void  ) [inline, virtual]

Implements MDataRef.

void MShaderRef::setShaderId ( unsigned int  shaderId) [inline]
void MShaderRef::update ( void  ) [virtual]

Implements MDataRef.


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