---
title: colorPixelFormat
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tctouchcontrollerdescriptor/colorpixelformat
---

# colorPixelFormat

The pixel format for the drawable texture.

## Declaration

```swift
var colorPixelFormat: MTLPixelFormat { get set }
```

## See Also

### Inspecting the controller descriptor

- [depthAttachmentPixelFormat](touchcontroller/tctouchcontrollerdescriptor/depthattachmentpixelformat.md)
- [device](touchcontroller/tctouchcontrollerdescriptor/device.md)
- [drawableSize](touchcontroller/tctouchcontrollerdescriptor/drawablesize.md)
- [sampleCount](touchcontroller/tctouchcontrollerdescriptor/samplecount.md)
- [size](touchcontroller/tctouchcontrollerdescriptor/size.md)
- [stencilAttachmentPixelFormat](touchcontroller/tctouchcontrollerdescriptor/stencilattachmentpixelformat.md)
