Function
Coglprogram_get_uniform_location
Declaration [src]
int
cogl_program_get_uniform_location (
CoglHandle handle,
const char* uniform_name
)
Description [src]
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.
Deprecated since: | 1.16 |
Use |
Parameters
handle |
CoglHandle |
A |
|
uniform_name |
const char* |
The name of a uniform. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. |