Method
GskGLShaderget_arg_vec4
Declaration [src]
void
gsk_gl_shader_get_arg_vec4 (
GskGLShader* shader,
GBytes* args,
int idx,
graphene_vec4_t* out_value
)
Description [src]
Gets the value of the uniform idx in the args block.
The uniform must be of vec4 type.
Parameters
args-
Type:
GBytesUniform arguments.
The data is owned by the caller of the function. idx-
Type:
intIndex of the uniform.
out_value-
Type:
graphene_vec4_tLocation to store set the uniform value in.
The data is owned by the caller of the function.