Shader.setUniformInt() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
uniform
No
value1
No
value2?
{int}
Yes
value3?
{int}
Yes
value4?
{int}
Yes

Returns

Not applicable.

Description

Pass one or more integer values as a uniform to this Shader. If only one value argument is passed, it can be an array or Vector2. Otherwise all value arguments have to be numbers.

⚠️ **GitHub.com Fallback** ⚠️