harmony 鸿蒙OH_NativeBuffer_Config
OH_NativeBuffer_Config
概述
OH_NativeBuffer的属性配置,用于申请新的OH_NativeBuffer实例或查询现有实例的相关属性。
\@syscap SystemCapability.Graphic.Graphic2D.OH_NativeBuffer
起始版本:
9
相关模块:
汇总
成员变量
| 名称 | 描述 | 
|---|---|
| width | 宽度(像素)。 | 
| height | 高度(像素)。 | 
| format | 像素格式。 | 
| usage | buffer的用途说明。 | 
| stride | 本地窗口缓冲区步幅。 | 
结构体成员变量说明
format
int32_t OH_NativeBuffer_Config::format
描述:
像素格式
height
int32_t OH_NativeBuffer_Config::height
描述:
高度(像素)。
stride
int32_t OH_NativeBuffer_Config::stride
描述:
本地窗口缓冲区步幅。
起始版本:
10
usage
int32_t OH_NativeBuffer_Config::usage
描述:
buffer的用途说明。
width
int32_t OH_NativeBuffer_Config::width
描述:
宽度(像素)。
你可能感兴趣的鸿蒙文章
                        
                            0
                        
                        
                             赞
                        
                    
                    
                - 所属分类: 后端技术
- 本文标签:
热门推荐
- 
                        2、 - 优质文章
- 
                        3、 gate.io
- 
                        8、 openharmony
- 
                        9、 golang