setVec2

fun setVec2(idx: <Error class: unknown class>, value: <Error class: unknown class>)(source)

⚠️ 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