---
title: shape
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphvariableop/shape
---

# shape

The shape of the variable.

## Declaration

```swift
var shape: [NSNumber] { get }
```
