---
title: mesh
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cimeshgenerator/mesh
---

# mesh

An array that describes the mesh to render.

## Declaration

```swift
var mesh: [Any] { get set }
```

## Discussion

Discussion Specify the mesh as an array of line segments. Each line segment is stored as a CIVector instance that describes the line as a start point and an end point.

## See Also

### Instance Properties

- [color](coreimage/cimeshgenerator/color.md)
- [width](coreimage/cimeshgenerator/width.md)
