---
title: colorTransform
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsimagesobel/colortransform
---

# colorTransform

The color transform used to initialize the Sobel filter.

## Declaration

```swift
var colorTransform: UnsafePointer<Float> { get }
```

## Discussion

Discussion This property returns a pointer to the array of 3 floats used to convert RGBA, RGB or RG source images to the destination texture format when said destination is monochrome.
