set_vec2


Description:

public void set_vec2 (int idx, Vec2 value)

Sets the value of the uniform idx.

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 vec2 type.

Parameters:

this

A `GskShaderArgsBuilder`

idx

index of the uniform

value

value to set the uniform too