OH_NativeBuffer_Config
typedef struct {...} OH_NativeBuffer_Config
Overview
The OH_NativeBuffer_Config struct describes the OH_NativeBuffer attribute configuration, which is used when you apply for a new OH_NativeBuffer instance or query the attributes of an existing instance.
Since: 9
Related module: OH_NativeBuffer
Header file: native_buffer.h
Summary
Member Variables
| Name | Description |
|---|---|
| int32_t width | Width, in pixels. |
| int32_t height | Height, in pixels. |
| int32_t format | Pixel format. For details about the available options, see OH_NativeBuffer_Format. |
| int32_t usage | Usage of the buffer. For details about the available options, see OH_NativeBuffer_Usage. |
| int32_t stride | Double pointer to the image processing instance created. Stride of the local window buffer, in bytes. Since: 10 |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-drawing-gpu-context-h
openharmony 鸿蒙 capi-drawing-nativepixelmap-
openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange
openharmony 鸿蒙 capi-drawing-oh-drawing-brush
openharmony 鸿蒙 capi-drawing-oh-drawing-image-info
openharmony 鸿蒙 capi-drawing-text-linetypography-h
openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage
openharmony 鸿蒙 capi-drawing-typeface-h