---
title: inputColorChannels
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsfcolorconversion/inputcolorchannels
---

# inputColorChannels

## Declaration

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

## Discussion

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