Uniform
Marks a uniform variable property in ShaderParams-annotated class.
Supports properties of types:
numbers:
Boolean
(since v1.1.0),Int
,Float
,vectors:
Vec2
,Vec3
,Vec4
,matrices:
Mat2
,Mat3
,Mat4
,arrays of these types.
Since v1.2.0, no longer supports properties of type Texture
. Use @Sampler2D instead.