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.
The uniform’s name.
var name: String { get }Your custom fragment shader uses this name to identify the variable. SpriteKit automatically declares the uniform variable for your shader.