harmony 鸿蒙drawing_gpu_context.h
drawing_gpu_context.h
Overview
The drawing_gpu_context.h file declares the functions related to the GPU context in the drawing module.
File to include: <native_drawing/drawing_gpu_context.h>
Library: libnative_drawing.so
Since: 12
Related module: Drawing
Summary
Structs
Name | Description |
---|---|
struct OH_Drawing_GpuContextOptions | Describes the options about the GPU context. |
Types
Name | Description |
---|---|
typedef struct OH_Drawing_GpuContextOptions OH_Drawing_GpuContextOptions | Defines a struct for the options about the GPU context. |
Functions
Name | Description |
---|---|
OH_Drawing_GpuContext * OH_Drawing_GpuContextCreateFromGL (OH_Drawing_GpuContextOptions) | Creates an OH_Drawing_GpuContext object that uses OpenGL as the backend interface. |
OH_Drawing_GpuContext * OH_Drawing_GpuContextCreate (void) | Creates an OH_Drawing_GpuContext object, for which the backend type depends on the device. |
void OH_Drawing_GpuContextDestroy (OH_Drawing_GpuContext *) | Destroys an OH_Drawing_GpuContext object and reclaims the memory occupied by the object. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DisplaySoloist_ExpectedRateRange
harmony 鸿蒙NativeColorSpaceManager
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦