|
GLProgramState * | clone () const |
| Returns a new copy of the GLProgramState. More...
|
|
local | clone () |
| Returns a new copy of the GLProgramState. More...
|
|
void | apply (const Mat4 &modelView) |
| Apply GLProgram, attributes and uniforms. More...
|
|
var | apply ( var modelView) |
| Apply GLProgram, attributes and uniforms. More...
|
|
local | apply ( local modelView) |
| Apply GLProgram, attributes and uniforms. More...
|
|
void | applyGLProgram (const Mat4 &modelView) |
| Apply GLProgram, and built in uniforms. More...
|
|
local | applyGLProgram ( local modelView) |
| Apply GLProgram, and built in uniforms. More...
|
|
void | applyAttributes (bool applyAttribFlags=true) |
| Apply attributes. More...
|
|
local | applyAttributes ( local true) |
| Apply attributes. More...
|
|
void | applyUniforms () |
| Apply user defined uniforms.
|
|
var | applyUniforms () |
| Apply user defined uniforms.
|
|
local | applyUniforms () |
| Apply user defined uniforms.
|
|
uint32_t | getVertexAttribsFlags () const |
| Get the flag of vertex attribs used by OR operation. More...
|
|
var | getVertexAttribsFlags () |
| Get the flag of vertex attribs used by OR operation. More...
|
|
local | getVertexAttribsFlags () |
| Get the flag of vertex attribs used by OR operation. More...
|
|
ssize_t | getVertexAttribCount () const |
| Get the number of vertex attributes. More...
|
|
ssize_t | getUniformCount () const |
| Get the number of user defined uniform count. More...
|
|
var | getUniformCount () |
| Get the number of user defined uniform count. More...
|
|
local | getUniformCount () |
| Get the number of user defined uniform count. More...
|
|
Node * | getNodeBinding () const |
| Returns the Node bound to the GLProgramState.
|
|
var | getNodeBinding () |
| Returns the Node bound to the GLProgramState.
|
|
local | getNodeBinding () |
| Returns the Node bound to the GLProgramState.
|
|
void | setNodeBinding (Node *node) |
| Sets the node that this render state is bound to. More...
|
|
local | setNodeBinding ( local node) |
| Sets the node that this render state is bound to. More...
|
|
void | applyAutoBinding (const std::string &uniformName, const std::string &autoBinding) |
| Applies the specified custom auto-binding. More...
|
|
var | applyAutoBinding ( var uniformName, var autoBinding) |
| Applies the specified custom auto-binding. More...
|
|
local | applyAutoBinding ( local uniformName, local autoBinding) |
| Applies the specified custom auto-binding. More...
|
|
void | setParameterAutoBinding (const std::string &uniformName, const std::string &autoBinding) |
| Sets a uniform auto-binding. More...
|
|
|
void | setGLProgram (GLProgram *glprogram) |
|
void | setVertexAttribCallback (const std::string &name, const std::function< void(VertexAttrib *)> &callback) |
|
void | setUniformInt (const std::string &uniformName, int value) |
var | setUniformInt ( var uniformName, var value) |
local | setUniformInt ( local uniformName, local value) |
void | setUniformTexture (const std::string &uniformName, GLuint textureId) |
var | setUniformTexture ( var uniformName, var textureId) |
local | setUniformTexture ( local uniformName, local textureId) |
|
void | setUniformInt (GLint uniformLocation, int value) |
void | setUniformTexture (GLint uniformLocation, GLuint textureId) |
var | setUniformTexture ( var uniformLocation, var textureId) |
local | setUniformTexture ( local uniformLocation, local textureId) |
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
local | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
local | getReferenceCount () |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| Destructor. More...
|
|