ManaPlus
|
#include <shader.h>
Public Member Functions | |
Shader (const unsigned int id) | |
~Shader () | |
unsigned int | getShaderId () const |
Public Member Functions inherited from Resource | |
Resource () | |
~Resource () | |
virtual void | incRef () |
virtual void | decRef () |
int | calcMemoryLocal () const |
std::string | getCounterName () const |
Public Member Functions inherited from MemoryCounter | |
MemoryCounter () | |
virtual | ~MemoryCounter () |
int | calcMemory (const int level) const |
virtual int | calcMemoryChilds (const int level) const |
Protected Attributes | |
unsigned int | mShaderId |
Additional Inherited Members | |
Data Fields inherited from Resource | |
time_t | mTimeStamp |
std::string | mIdPath |
std::string | mSource |
unsigned int | mRefCount |
bool | mProtected |
bool | mNotCount |
|
explicit |
Definition at line 30 of file shader.cpp.
Shader::~Shader | ( | ) |
Definition at line 36 of file shader.cpp.
References mShaderId.
|
inline |
Definition at line 38 of file shader.h.
References mShaderId.
Referenced by ShadersManager::createProgram().
|
protected |
Definition at line 42 of file shader.h.
Referenced by getShaderId(), and ~Shader().