---
title: outputColorChannels
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsfcolorconversion/outputcolorchannels
---

# outputColorChannels

## Declaration

```swift
var outputColorChannels: Int { get }
```

## Discussion

Discussion The number of color channels produced by the conversion in the float4 texel When the conversion is initialized with a NULL CGColorConversionInfoRef this value will be 0
