set_int


Description:

public void set_int (int idx, int32 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 int type.

Parameters:

this

a `GskShaderArgsBuilder`

idx

index of the uniform

value

value to set the uniform to