# LayerBuffer ## **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 Documentation** ## 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