---
title: colorUsage
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/configuration-swift.struct/colorusage
---

# colorUsage

The texture usage value to apply to the layer’s color textures.

## Declaration

```swift
var colorUsage: MTLTextureUsage { get set }
```

## Discussion

Discussion Metal optimizes texture-related operations based on the value in this property. The usage value can be a combination of options. For more information, see MTLTextureUsage.

## See Also

### Configuring the color textures

- [colorFormat](compositorservices/layerrenderer/configuration-swift.struct/colorformat.md)
