# GrallocBuffer - [Overview](#section1994522661165631) - [Summary](#section197328879165631) - [Data Fields](#pub-attribs) - [Details](#section694221750165631) - [Field](#section924837173165631) - [hdl](#a6bdce5004be0cb1c41326c0621581fff) - [size](#a756f3d9e23d7e97a28a5228765cb8cf3) - [type](#ad66bdf06909350cd1a4e5c45349e72ae) - [virAddr](#a3196376b8b938cf96e008152f1ddceee) ## **Overview** **Related Modules:** [Display](display.md) **Description:** Defines the memory buffer, including the buffer handle, memory type, memory size, and virtual memory address. ## **Summary** ## Data Fields

Variable Name

Description

hdl

BufferHandle

type

MemType

size

uint32_t

virAddr

void *

## **Details** ## **Field ** ## hdl ``` [BufferHandle](bufferhandle.md) GrallocBuffer::hdl ``` **Description:** Buffer handle ## size ``` uint32_t GrallocBuffer::size ``` **Description:** Size of the requested memory ## type ``` [MemType](display.md#gabd31f838aefffa46191d0d7dc36a96b2) GrallocBuffer::type ``` **Description:** Type of the requested memory ## virAddr ``` void* GrallocBuffer::virAddr ``` **Description:** Virtual address of the requested memory