Skip to content

KalaKit/KalaGraphics

Repository files navigation

KalaGraphics

KalaGraphics is a graphics library for OpenGL 3.3 that does not own or create a window or the GL context. It is recommended to use KalaWindow to get the GL context and the handle (HDC) but theoretically any other window context initializer and GL library like GLFW should work out of the box. KalaGraphics can initialize hand-picked GL core, wgl and glx functions for OpenGL 3.3 so helper libraries like Glad are not required.

KalaGraphics provides shader, texture, UI and model handling in OpenGL 3.3. The UI framework is fully original, with a widget system where Image and Text are the root widgets. Shaders and textures can be hot-reloaded, where shaders fully reimport the new external shader file, but textures simply reload with new pixel data.


Supported platforms

Platform Status Notes
Windows Supported Recommended Windows 10 (build 1809 / 17763) or higher
Linux Planned Support coming in a future version
WebGL Planned Support coming in a future version
Mac Not Supported No plans for macOS compatibility
ARM Not Supported ARM architecture will not be targeted
Console Not Supported No plans for console platforms
Mobile Not Supported No plans for mobile platforms

Supported render pipelines

Render Pipeline Status Notes
OpenGL Supported Internally locked to OpenGL 3.3
Vulkan Planned Support for Vulkan 1.3 coming in a future version
DirectX Not Supported No plans for DirectX compatibility
MoltenVK Not Supported No plans for MoltenVK compatibility

Some KalaGraphics headers pull in official GL extension headers:

  • opengl_functions_core.hpp includes glcorearb.h and glext.h
  • opengl_functions_win.hpp includes wgleht.hpp
  • opengl_functions_linux.hpp includes glxeht.hpp

Links

Donate on PayPal

Official Discord server

Official Youtube channel


Docs

How to build from source

External libraries

Lost Empire Entertainment and KalaKit ecosystem

About

Shader, texture, UI and models with OpenGL 3.3 on C++ 20 for Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published