Method

GskGLShaderget_arg_uint

Declaration [src]

guint32
gsk_gl_shader_get_arg_uint (
  GskGLShader* shader,
  GBytes* args,
  int idx
)

Description [src]

Gets the value of the uniform idx in the args block.

The uniform must be of uint type.

Parameters

args

Type: GBytes

Uniform arguments.

The data is owned by the caller of the method.
idx

Type: int

Index of the uniform.

Return value

Type: guint32

The value.