Introduction (中文)
Lanox2D is a lightweight and fast 2D vector graphics engine.
This project is still in the internal development process, we will not provide any technical support.
We need to install the Xmake cross-platform build tool first.
By default, Windows/Linux/macOS platforms only require one-click compilation, and Xmake will select the optimal rendering device and window.
$ xmake
Compile the library and generate the apk package of the Example project.
$ xmake apk_build
Of course, we can also directly use Android Studio to open the internal project to directly compile and run.
Compile the library and generate the ipa package of the Example project.
$ xmake ipa_build
Of course, we can also directly use Xcode to open the internal project to directly compile and run.
Currently, we support the following rendering devices:
- opengl
- vulkan
- metal
- bitmap
- skia
On Linux, we use OpenGL as the default rendering device by default, but on other platforms, if we also want to use OpenGL, we can manually configure the switch.
$ xmake f --window=glfw [--device=opengl]
$ xmake
Usually, we only need to switch to the glfw window, and xmake will use OpenGL by default.
We can also switch to use Glut as a window.
$ xmake f --window=glut
$ xmake
$ xmake f --device=vulkan --window=glfw
$ xmake
On macOS/iOS, we will use Metal as the rendering device by default.
We can switch the following window types through the xmake f --window=xxx
configuration.
- glfw
- glut
- sdl
- fbdev
- android
- mach
- Email:waruqi@gmail.com
- Homepage:lanox2d.com
- Source Code:Github, Gitee
- Wechat Public: tboox-os