---
title: MXUnitAveragePixelLuminance
framework: metrickit
role: symbol
role_heading: Class
path: metrickit/mxunitaveragepixelluminance
---

# MXUnitAveragePixelLuminance

A unit of measure of pixel luminosity on an OLED display.

## Declaration

```swift
class MXUnitAveragePixelLuminance
```

## Overview

Overview Luminosity represents the brightness of each red, green, and blue component pixel. Unlike LCD displays, each pixel requires power to display a color, and white draws the most power per pixel. MXUnitAveragePixelLuminance defines the base unit as the average luminance of all the pixels on the screen for some period of time. Reducing the average luminance of the display reduces the amount of power consumed by the app.

## Topics

### Measuring Average Pixel Luminance

- [apl](metrickit/mxunitaveragepixelluminance/apl.md)

## Relationships

### Inherits From

- [Dimension](foundation/dimension.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supporting types

- [MXCallStackTree](metrickit/mxcallstacktree.md)
- [MXMetaData](metrickit/mxmetadata.md)
- [MXAverage](metrickit/mxaverage.md)
- [MXHistogram](metrickit/mxhistogram.md)
- [MXHistogramBucket](metrickit/mxhistogrambucket.md)
- [MXDiagnostic](metrickit/mxdiagnostic.md)
- [MXMetric](metrickit/mxmetric.md)
- [MXError](metrickit/mxerror.md)
- [MXError.Code](metrickit/mxerror/code.md)
- [MXErrorDomain](metrickit/mxerrordomain.md)
- [MXCrashDiagnosticObjectiveCExceptionReason](metrickit/mxcrashdiagnosticobjectivecexceptionreason.md)
- [MXSignpostRecord](metrickit/mxsignpostrecord.md)
- [MXUnitSignalBars](metrickit/mxunitsignalbars.md)
