Add comment to new function

This commit is contained in:
XiaoFeng 2015-11-27 14:08:27 +08:00
parent a61fe711e2
commit 8e4276469c
1 changed files with 2 additions and 0 deletions

View File

@ -406,7 +406,9 @@ public:
/** Get a shader program from the texture.*/
GLProgram* getGLProgram() const;
/** Set if the texture is valid, when it been set as false, it will display as default "file missing texture" */
void setValid(bool valid) { _valid = valid; }
bool isValid() const { return _valid; }
std::string getPath()const { return _filePath; }