setVec2
⚠️ Deprecated ⚠️
This is deprecated since version 4.16.
GTK's new Vulkan-focused rendering does not support this feature. Use ../gtk4/class.GLArea.html for OpenGL rendering.
Sets the value of the uniform @idx.
The uniform must be of vec2 type.
Parameters
idx
index of the uniform
value
value to set the uniform too