|
| | ShaderProgram () |
| |
| | ~ShaderProgram () |
| |
| bool | addShader (const ShaderPtr &shader) |
| |
| bool | addShaderFromSourceCode (Shader::ShaderType shaderType, const std::string &sourceCode) |
| |
| bool | addShaderFromSourceFile (Shader::ShaderType shaderType, const std::string &sourceFile) |
| |
| void | removeShader (const ShaderPtr &shader) |
| |
| void | removeAllShaders () |
| |
| virtual bool | link () |
| |
| bool | bind () |
| |
| std::string | log () |
| |
| void | disableAttributeArray (const char *name) |
| |
| void | enableAttributeArray (const char *name) |
| |
| int | getAttributeLocation (const char *name) |
| |
| void | bindAttributeLocation (int location, const char *name) |
| |
| void | bindUniformLocation (int location, const char *name) |
| |
| void | setAttributeArray (int location, const float *values, int size, int stride=0) |
| |
| void | setAttributeValue (int location, float value) |
| |
| void | setAttributeValue (int location, float x, float y) |
| |
| void | setAttributeValue (int location, float x, float y, float z) |
| |
| void | setAttributeArray (const char *name, const float *values, int size, int stride=0) |
| |
| void | setAttributeValue (const char *name, float value) |
| |
| void | setAttributeValue (const char *name, float x, float y) |
| |
| void | setAttributeValue (const char *name, float x, float y, float z) |
| |
| void | setUniformValue (int location, const Color &color) |
| |
| void | setUniformValue (int location, int value) |
| |
| void | setUniformValue (int location, float value) |
| |
| void | setUniformValue (int location, float x, float y) |
| |
| void | setUniformValue (int location, float x, float y, float z) |
| |
| void | setUniformValue (int location, float x, float y, float z, float w) |
| |
| void | setUniformValue (int location, const Matrix2 &mat) |
| |
| void | setUniformValue (int location, const Matrix3 &mat) |
| |
| void | setUniformValue (const char *name, const Color &color) |
| |
| void | setUniformValue (const char *name, int value) |
| |
| void | setUniformValue (const char *name, float value) |
| |
| void | setUniformValue (const char *name, float x, float y) |
| |
| void | setUniformValue (const char *name, float x, float y, float z) |
| |
| void | setUniformValue (const char *name, float x, float y, float z, float w) |
| |
| void | setUniformValue (const char *name, const Matrix2 &mat) |
| |
| void | setUniformValue (const char *name, const Matrix3 &mat) |
| |
| bool | isLinked () |
| |
| uint | getProgramId () |
| |
| ShaderList | getShaders () |
| |
| | LuaObject () |
| |
| virtual | ~LuaObject () |
| |
| template<typename T > |
| void | connectLuaField (const std::string &field, const std::function< T > &f, bool pushFront=false) |
| |
| template<typename... T> |
| int | luaCallLuaField (const std::string &field, const T &... args) |
| |
| template<typename R , typename... T> |
| R | callLuaField (const std::string &field, const T &... args) |
| |
| template<typename... T> |
| void | callLuaField (const std::string &field, const T &... args) |
| |
| bool | hasLuaField (const std::string &field) |
| | Returns true if the lua field exists. More...
|
| |
| template<typename T > |
| void | setLuaField (const std::string &key, const T &value) |
| | Sets a field in this lua object. More...
|
| |
| template<typename T > |
| T | getLuaField (const std::string &key) |
| | Gets a field from this lua object. More...
|
| |
| void | releaseLuaFieldsTable () |
| | Release fields table reference. More...
|
| |
| void | luaSetField (const std::string &key) |
| | Sets a field from this lua object, the value must be on the stack. More...
|
| |
| void | luaGetField (const std::string &key) |
| | Gets a field from this lua object, the result is pushed onto the stack. More...
|
| |
| void | luaGetMetatable () |
| | Get object's metatable. More...
|
| |
| void | luaGetFieldsTable () |
| | Gets the table containing all stored fields of this lua object, the result is pushed onto the stack. More...
|
| |
| int | getUseCount () |
| |
| std::string | getClassName () |
| | Returns the derived class name, its the same name used in Lua. More...
|
| |
| LuaObjectPtr | asLuaObject () |
| |
| void | operator= (const LuaObject &) |
| |
| | shared_object () |
| |
| virtual | ~shared_object () |
| |
| void | add_ref () |
| |
| void | dec_ref () |
| |
| refcount_t | ref_count () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | static_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | dynamic_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | const_self_cast () |
| |
Definition at line 30 of file shaderprogram.h.