<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIMeshGenerator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIMeshGenerator"
  },
  "title" : "CIMeshGenerator"
}
-->

# CIMeshGenerator

The properties you use to configure a mesh generator filter.

```
protocol CIMeshGenerator : CIFilterProtocol
```

## Topics

### Instance Properties

[`color`](/documentation/CoreImage/CIMeshGenerator/color)

The color of the rendered mesh.

[`mesh`](/documentation/CoreImage/CIMeshGenerator/mesh)

An array that describes the mesh to render.

[`width`](/documentation/CoreImage/CIMeshGenerator/width)

The width of the effect.

## See Also

[`meshGenerator()`](/documentation/CoreImage/CIFilter-swift.class/meshGenerator())

Generates a pattern made from an array of line segments.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)