Contents

name

The uniform’s name.

Declaration

var name: String { get }

Discussion

Your custom fragment shader uses this name to identify the variable. SpriteKit automatically declares the uniform variable for your shader.

See Also

Reading Information About a Uniform