get_arg_float


Description:

public float get_arg_float (Bytes args, int idx)

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

Note:

GTK's new Vulkan-focused rendering does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) for OpenGL rendering.

The uniform must be of float type.

Parameters:

this

a `GskGLShader`

args

uniform arguments

idx

index of the uniform

Returns:

The value