---
title: attributes
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skshader/attributes
---

# attributes

The list of attributes associated with the shader.

## Declaration

```swift
var attributes: [SKAttribute] { get set }
```

## Discussion

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.
