0417c37460812d7e8b55e29b2a6faa3e02109c91
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m54s
Allow rendering onto a texture that's been loaded already. Make DrawSprite commands work regardless of if the texture was loaded in inverted or not. You however cannot draw onto a texture which is upside-down in vram because your draw commands would be positioned incorrectly.
Josh Graphics Library
Yet Another C++ Rendering Toolkit
Features
- Modern C++ (20)
- Provides single-function-calls to render various graphics primitives in 2D and 3D.
- Integrates directly with our other toolkits (ReWindow, J3ML)
- Quick Rendering of Debug Text, Geometric Widgets, Textures, and so forth.
- Little-to-no overhead.
- Integrates right into an existing OpenGL rendering system.
- High-performance text rendering.
API Overview
J2D
- DrawPoint
- DrawLine / DrawGradientLine
- DrawSprite
- OutlineRect / FillRect / FillGradientRect / FillRoundedRect
- OutlineCircle / FillCircle
- OutlineTriangle / FillTriangle
- DrawString
J3D
- DrawLine
- DrawString
- DrawMatrixGizmo (WIP)
- DrawAxisAngleGizmo (WIP)
- DrawQuaternionGizmo (WIP)
Types
- Font
- Sprite
- Color4/Color3
- Gradient
Usage
Install instructions and code samples coming soon ™️ !
Documentation
Documentation is (sic: will be) automatically generated from latest commit and is hosted at https://doc.redacted.cc/jgl .
Contributing
Contributions to JGL are welcome! If you find a bug, have a feature request, or would like to contribute code, please submit an issue or pull request to our repository!
License
JGL is licensed under the Public Domain. See the LICENSE file for details.
Acknowledgements
JGL is developed and maintained by Josh O'Leary @ Co from Redacted Software and contributors. Special thanks to Redacted.
Description
Prerelease-2
Latest
Languages
C++
79.3%
C
19.7%
GLSL
0.8%
CMake
0.2%