ShaderArgsBuilder.setVec2

void setVec2(int idx, graphene.vec2.Vec2 value)

Sets the value of the uniform idx.

The uniform must be of vec2 type.

Parameters

idxindex of the uniform
valuevalue to set the uniform too