---
title: AVCaptureDevice.WhiteBalanceGains
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avcapturedevice/whitebalancegains
---

# AVCaptureDevice.WhiteBalanceGains

A structure that defines RGB white balance gain values.

## Declaration

```swift
struct WhiteBalanceGains
```

## Topics

### Creating white balance gains

- [init()](avfoundation/avcapturedevice/whitebalancegains/init().md)
- [init(redGain:greenGain:blueGain:)](avfoundation/avcapturedevice/whitebalancegains/init(redgain:greengain:bluegain:).md)

### Isolating gain by color channel

- [blueGain](avfoundation/avcapturedevice/whitebalancegains/bluegain.md)
- [greenGain](avfoundation/avcapturedevice/whitebalancegains/greengain.md)
- [redGain](avfoundation/avcapturedevice/whitebalancegains/redgain.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Performing conversions

- [chromaticityValues(for:)](avfoundation/avcapturedevice/chromaticityvalues(for:).md)
- [temperatureAndTintValues(for:)](avfoundation/avcapturedevice/temperatureandtintvalues(for:).md)
- [deviceWhiteBalanceGains(for:)](avfoundation/avcapturedevice/devicewhitebalancegains(for:)-9gdtw.md)
- [deviceWhiteBalanceGains(for:)](avfoundation/avcapturedevice/devicewhitebalancegains(for:)-3wtsa.md)
- [AVCaptureDevice.WhiteBalanceChromaticityValues](avfoundation/avcapturedevice/whitebalancechromaticityvalues.md)
- [AVCaptureDevice.WhiteBalanceTemperatureAndTintValues](avfoundation/avcapturedevice/whitebalancetemperatureandtintvalues.md)
