# AHardwareBuffer_Planes

Holds all image planes that contain the pixel data.

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-planes#struct_a_hardware_buffer___planes_1a3643a4768b1b48b2ac8b2749d2f6ad0d` | `uint32_t` Number of distinct planes. |
| `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-planes#struct_a_hardware_buffer___planes_1a38077db3189788756b820c063ce6e831[4]` | `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-plane#struct_a_hardware_buffer___plane` Array of image planes. |

## Public attributes

### planeCount

Declared in `android/hardware_buffer.h`

```scdoc
uint32_t AHardwareBuffer_Planes::planeCount
```
Number of distinct planes.

### planes

Declared in `android/hardware_buffer.h`

```scdoc
AHardwareBuffer_Plane AHardwareBuffer_Planes::planes[4]
```
Array of image planes.