Neo  0.5.0
Developer Documentation
Neo::TextureRef Class Reference

#include <TextureRef.h>

+ Inheritance diagram for Neo::TextureRef:

Public Member Functions

 TextureRef (unsigned int textureId, const char *filename, bool mipmap)
 
 ~TextureRef (void)
 
void clear (void)
 
void destroy (void)
 
void update (void)
 
int getType (void)
 
bool isMipmapEnabled (void)
 
unsigned int getComponents (void)
 
unsigned int getWidth (void)
 
unsigned int getHeight (void)
 
void setWidth (unsigned int width)
 
void setHeight (unsigned int height)
 
void setTextureId (unsigned int textureId)
 
unsigned int getTextureId (void)
 
- Public Member Functions inherited from Neo::DataRef
 DataRef (void)
 
void incrScore (void)
 
void decrScore (void)
 
unsigned int getScore (void)
 
void setTime (long time)
 
long getTime (void)
 
const char * getFilename (void)
 

Static Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from Neo::DataRef
long m_time
 
String m_filename
 
unsigned int m_score
 

Constructor & Destructor Documentation

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

Member Function Documentation

void Neo::TextureRef::clear ( void  )
virtual

Implements Neo::DataRef.

void Neo::TextureRef::destroy ( void  )
virtual

Implements Neo::DataRef.

unsigned int Neo::TextureRef::getComponents ( void  )
inline
unsigned int Neo::TextureRef::getHeight ( void  )
inline
static TextureRef* Neo::TextureRef::getNew ( unsigned int  textureId,
const char *  filename,
bool  mipmap 
)
static
unsigned int Neo::TextureRef::getTextureId ( void  )
inline
int Neo::TextureRef::getType ( void  )
inlinevirtual

Implements Neo::DataRef.

unsigned int Neo::TextureRef::getWidth ( void  )
inline
bool Neo::TextureRef::isMipmapEnabled ( void  )
inline
void Neo::TextureRef::setHeight ( unsigned int  height)
inline
void Neo::TextureRef::setTextureId ( unsigned int  textureId)
inline
void Neo::TextureRef::setWidth ( unsigned int  width)
inline
void Neo::TextureRef::update ( void  )
virtual

Implements Neo::DataRef.


The documentation for this class was generated from the following file: