AllocInfo
概述
定义待分配内存的信息。
起始版本: 3.2
相关模块:Display
汇总
成员变量
| 名称 | 描述 |
|---|---|
| unsigned int width | 申请内存宽度 |
| unsigned int height | 申请内存高度 |
| unsigned long usage | 申请内存的使用场景 |
| unsigned int format | 申请内存格式 |
| unsigned int expectedSize | 申请内存大小 |
结构体成员变量说明
expectedSize
unsigned int AllocInfo::expectedSize
描述
申请内存大小
format
unsigned int AllocInfo::format
描述
申请内存格式
height
unsigned int AllocInfo::height
描述
申请内存高度
usage
unsigned long AllocInfo::usage
描述
申请内存的使用场景
width
unsigned int AllocInfo::width
描述
申请内存宽度
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 index_composer_display_v12
openharmony 鸿蒙 interface_i_allocator_v10
openharmony 鸿蒙 interface_i_metadata_v11
openharmony 鸿蒙 _i_display_composer_8idl_v11
openharmony 鸿蒙 interface_i_refresh_callback_v10
openharmony 鸿蒙 _layer_color_v10
openharmony 鸿蒙 index_buffer_display_v10