Retrieve the location (offset) of a uniform variable in a shader program, a uniform is a variable that is constant for all vertices/fragments for a shader object and is possible to modify as an external parameter.
Use CoglSnippet
api instead
uniform_name |
the name of a uniform. |
handle |
a VertexBufferIndices for a shader program. |
the offset of a uniform in a specified program. This uniform can be set using uniform_1f when the program is in use. |