Instance Property

shader

Defines a shader which is applied to each tile of the tile map.

Declaration

var shader: SKShader? { get set }

See Also

Working with Custom Shaders

var attributeValues: [String : SKAttributeValue]

The values of each attribute associated with the node's attached shader.

func setValue(SKAttributeValue, forAttribute: String)

Sets an attribute value for an attached shader.