Instance Property

attributes

The list of attributes associated with the shader.

Declaration

var attributes: [SKAttribute] { get set }

Discussion

This property is not read-only, so you can also use it to provide all of the attributes in a single operation. Each of the attributes should be uniquely named.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software