1919# Egloo
2020
2121Egloo is a simple and lightweight multiplatform framework for OpenGL ES drawing and EGL management
22- that uses object-oriented components - hence the name Egl** oo** . It can serve as a basis for
22+ that uses object-oriented components - hence the name Egl** oo** . It can serve as a basis for
2323complex drawing operations, but is mostly designed for helping in making common tasks simpler,
2424even for people that do not have any OpenGL experience.
2525
26- Approaching OpenGL from Android can be hard because of the deep differences in the OpenGL API design
26+ Approaching OpenGL from high-level languages can be hard because of the deep differences in the OpenGL API design
2727with respect to a typical object-oriented context. Egloo tries to take some of these difficulties away
2828by creating a ** thin** , flexible layer of abstraction around EGL and GLES calls.
2929
30- You can take a look at the demo app or see Egloo in action in more popular projects:
30+ You can take a look at the demo app or see Egloo in action in some popular Android projects:
3131
3232- for camera preview and real-time filters: see [ CameraView] ( https://github.com/natario1/CameraView )
3333- in a zoomable Surface: see [ ZoomLayout] ( https://github.com/natario1/ZoomLayout )
3434- for transcoding videos: see [ Transcoder] ( https://github.com/natario1/Transcoder )
3535
36- ``` groovy
37- implementation 'com.otaliastudios.opengl:egloo:0.5.0'
38- ```
39-
4036Starting from 0.5.0, Egloo can run on native targets. We provide an implementation for Android native libraries,
41- but other targets like iOS can probably be added easily. These artifacts are not currently published
42- but can be built using ` ./gradlew :library:publishLocal ` .
37+ but other targets like iOS can probably be added easily.
38+
39+ ``` kotlin
40+ // Regular Android projects
41+ implementation(" com.otaliastudios.opengl:egloo-android:0.5.1" )
42+
43+ // Kotlin Multiplatform projects: add egloo-multiplatform to your common source set.
44+ implementation(" com.otaliastudios.opengl:egloo-multiplatform:0.5.1" )
45+
46+ // Kotlin Multiplatform projects: or use the granular dependencies:
47+ implementation(" com.otaliastudios.opengl:egloo-android:0.5.1" ) // Android AAR
48+ implementation(" com.otaliastudios.opengl:egloo-androidnativex86:0.5.1" ) // Android Native KLib
49+ implementation(" com.otaliastudios.opengl:egloo-androidnativex64:0.5.1" ) // Android Native KLib
50+ implementation(" com.otaliastudios.opengl:egloo-androidnativearm32:0.5.1" ) // Android Native KLib
51+ implementation(" com.otaliastudios.opengl:egloo-androidnativearm64:0.5.1" ) // Android Native KLib
52+ ```
4353
4454## Features
4555
@@ -49,6 +59,7 @@ but can be built using `./gradlew :library:publishLocal` .
4959- Programs abstraction [[ docs]] ( https://natario1.github.io/docs/programs )
5060- Scenes to hold view and projection matrix [[ docs]] ( https://natario1.github.io/docs/scenes )
5161
62+
5263⠀ ; <!-- Hack to add whitespace -->
5364
5465<p align =" center " >
0 commit comments