Instance Property


The uniform object’s data type.


@property(nonatomic, readonly) SKUniformType uniformType;


A uniform object’s type is set to SKUniformTypeNone until the first time that the uniform variable’s value is set; this happens automatically if you use an initialization method that provides an initial type and value. Once the uniform object is given an initial value, its type changes to that value’s type and thereafter cannot be changed.

See Also

Reading Information About a Uniform


The uniform’s name.