Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - kotlin-graphics/uno-sdk: UNofficial Opengl SDK
UNofficial Opengl SDK. Contribute to kotlin-graphics/uno-sdk development by creating an account on GitHub.
Visit SiteGitHub - kotlin-graphics/uno-sdk: UNofficial Opengl SDK
UNofficial Opengl SDK. Contribute to kotlin-graphics/uno-sdk development by creating an account on GitHub.
Powered by 0x5a.live ๐
unofficial-opengl-SDK
How to retrieve it:
You can find all the instructions by mary
uno
This is kind of a small suite, born and shaped around GL, it includes the gln dependencies, such as unsigned support, glm and gli. Its main usage is basically as wrapper for the lwjgl glfw binding.
A kind of a gln for glfw. So, code more compact, type-safe, clear and intuitive. You can have up and running a whole gl clear example in just a couple of lines:
glfw.init("3.3")
val glfwWindow = GlfwWindow(1280, 720, "OpenGL example")
val window = GlWindow(glfwWindow)
glClearColor(1f, 0f, 0f, 0f)
window.loop {
glClear(GL_COLOR_BUFFER_BIT)
}
Plus some other small utils like:
- methods for allocating very easily many different type of buffers from a lot of different data type, such as different arrays and so on
- an cap class for a deep and complete resume about a machine opengl capabilities
- matrixStack for glm
- glsl utils (to refresh)
- an experimental kotlin stlib on intBuffers. So that you can for example
textureName.forEach(::glDestroyTexture)
- mousePole, an util for camera management
- and attempt to port stb completely on jvm (unfinished)
- timer util
And lately it also includes a counterpart of gln for vulkan, vkk, plus an util for making short-live allocations easy and free, kool.
Don't hesitate to contribute to the project by submitting issues or pull requests for bugs and features. Any feedback is welcome at [email protected].
How to retrieve it:
repositories {
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
// or with magik plugin
//github("kotlin-graphics/mary")
}
dependencies {
implementation("kotlin.graphics:uno:0.7.21")
}
Credits:
- Farid Zakaria for ascii85
- Jogamp for BufferedImage flipping
Kotlin Resources
are all listed below.
Made with โค๏ธ
to provide different kinds of informations and resources.