# LayerBuffer - [Overview](#section1817957125165632) - [Summary](#section635176130165632) - [Data Fields](#pub-attribs) - [Details](#section924765344165632) - [Field](#section1571466726165632) - [data](#a9a1831091916905de22145585cf8b682) - [fenceId](#a46aa174ae3d0eb28fa7f3e53749fd5d1) - [height](#aec2e142ea67776ec4e91fc3d8d3389ae) - [pitch](#a62a06a9381ac2d6fa48115ce7d01920d) - [pixFormat](#a1ac426fb1997d872b347cae9cce94eb6) - [width](#a71196d704bd8a6a69b9bccf497b8224b) ## **Overview** **Related Modules:** [Display](Display.md) **Description:** Defines the buffer, which is used to store layer data. ## **Summary** ## Data Fields

Variable Name

Description

fenceId

int32_t

width

int32_t

height

int32_t

pitch

int32_t

pixFormat

PixelFormat

data

BufferData

## **Details** ## **Field ** ## data ``` [BufferData](BufferData.md) LayerBuffer::data ``` **Description:** Layer buffer data ## fenceId ``` int32_t LayerBuffer::fenceId ``` **Description:** Fence ID of the buffer ## height ``` int32_t LayerBuffer::height ``` **Description:** Buffer height ## pitch ``` int32_t LayerBuffer::pitch ``` **Description:** Number of bytes from one row of pixels in memory to the next ## pixFormat ``` [PixelFormat](Codec.md#ga60883d4958a60b91661e97027a85072a) LayerBuffer::pixFormat ``` **Description:** Pixel format of the buffer ## width ``` int32_t LayerBuffer::width ``` **Description:** Buffer width