Maratis Engine
Public Member Functions | Static Public Member Functions

MTextureRef Class Reference

#include <MTextureRef.h>

Inheritance diagram for MTextureRef:
MDataRef

List of all members.

Public Member Functions

 MTextureRef (unsigned int textureId, const char *filename, bool mipmap)
 ~MTextureRef (void)
void clear (void)
void destroy (void)
void update (void)
int getType (void)
bool isMipmapEnabled (void)
void setTextureId (unsigned int textureId)
unsigned int getTextureId (void)

Static Public Member Functions

static MTextureRefgetNew (unsigned int textureId, const char *filename, bool mipmap)

Constructor & Destructor Documentation

MTextureRef::MTextureRef ( unsigned int  textureId,
const char *  filename,
bool  mipmap 
)
MTextureRef::~MTextureRef ( void  )

Member Function Documentation

void MTextureRef::clear ( void  ) [virtual]

Implements MDataRef.

void MTextureRef::destroy ( void  ) [virtual]

Implements MDataRef.

MTextureRef * MTextureRef::getNew ( unsigned int  textureId,
const char *  filename,
bool  mipmap 
) [static]
unsigned int MTextureRef::getTextureId ( void  ) [inline]
int MTextureRef::getType ( void  ) [inline, virtual]

Implements MDataRef.

bool MTextureRef::isMipmapEnabled ( void  ) [inline]
void MTextureRef::setTextureId ( unsigned int  textureId) [inline]
void MTextureRef::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