# LayerInfo - [Overview](#section888913598165632) - [Summary](#section1769336437165632) - [Data Fields](#pub-attribs) - [Details](#section1646535589165632) - [Field](#section369910035165632) - [bpp](#abf13f41732fac1713e51ab377c27922a) - [height](#aab83825af07139338b4536e45fe6d8fc) - [pixFormat](#a3a05038829a72f6afa87d504712f9117) - [type](#ade3a008d2aeccc966c226a60eb59e7ae) - [width](#a31b0ef7b0a83950c56dd1cafd20c9509) ## **Overview** **Related Modules:** [Display](Display.md) **Description:** Defines layer information. **[LayerInfo](LayerInfo.md)** must be passed to the **OpenLayer** function, which creates a layer based on the layer information. ## **Summary** ## Data Fields

Variable Name

Description

width

int32_t

height

int32_t

type

LayerType

bpp

int32_t

pixFormat

PixelFormat

## **Details** ## **Field ** ## bpp ``` int32_t LayerInfo::bpp ``` **Description:** Number of bits occupied by each pixel ## height ``` int32_t LayerInfo::height ``` **Description:** Layer height ## pixFormat ``` [PixelFormat](Codec.md#ga60883d4958a60b91661e97027a85072a) LayerInfo::pixFormat ``` **Description:** Pixel format of the layer ## type ``` [LayerType](Display.md#ga56943a0946e5f15e5e58054b8e7a04a4) LayerInfo::type ``` **Description:** Layer type, which can be a graphics layer, overlay layer, and sideband layer ## width ``` int32_t LayerInfo::width ``` **Description:** Layer width