1# OpenGL 2 3[OpenGL](https://www.khronos.org/opengl/) is a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware. OpenHarmony supports OpenGL 3.0. 4 5## Supported Capabilities 6 7OpenGL 3.0 8 9## Symbols Exported from the Standard Library 10 11[OpenGL 3.0 Symbols Exported from Native APIs](opengl-symbol.md) 12 13## OpenGL Extensions and Examples 14 15For details about the OpenGL extensions and their usage, see [OpenGL ES Extensions](opengles.md#opengl-es-extensions). 16 17For details about how to use these extensions, see [OpenGL ES Example](opengles.md#example). 18 19## Introducing OpenGL 20 21To use OpenGL capabilities, you must add related dynamic link libraries (DLLs) and header files. 22 23**Adding Dynamic Link Libraries** 24 25Add the following libraries to **CMakeLists.txt**. 26 27```txt 28libace_ndk.z.so 29libace_napi.z.so 30libGLv4.so 31libEGL.so 32``` 33 34**Including Header Files** 35 36```c++ 37#include <ace/xcomponent/native_interface_xcomponent.h> 38#include <EGL/egl.h> 39#include <EGL/eglext.h> 40#include <EGL/eglplatform.h> 41#include <GL/gl.h> 42#include <GL/glcorearb.h> 43``` 44**Modifying the app.json5 Configuration File** 45```c++ 46"appEnvironments": [ 47 { 48 "name":"NEED_OPENGL", 49 "value": "1" 50 } 51], 52``` 53 54 55## References 56 57To use the OpenGL API in your application development, familiarize yourself with the NDK development process and the **XComponent** usage, which are described in the following topics: 58 59- [Getting Started with the NDK](../../napi/ndk-development-overview.md) 60 61- [Node-API](./napi.md) 62 63- [XComponentNode](../apis-arkui/js-apis-arkui-xcomponentNode.md) 64 65- [XComponent](../apis-arkui/arkui-ts/ts-basic-components-xcomponent.md) 66