GetVec2

This function gets the value of a Vec2 uniform.

Syntax

Parameters

Returns

Returns a Vec2 value. If the uniform does not exist, or is not of the proper type, Vec2(0) will be returned.