Method

GskGLShaderget_arg_int

deprecated: 4.16 

Declaration [src]

gint32
gsk_gl_shader_get_arg_int (
  GskGLShader* shader,
  GBytes* args,
  int idx
)

Description [src]

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

The uniform must be of int type.

Deprecated since: 4.16

GTK’s new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.

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: gint32

The value.