6 releases (breaking)
Uses new Rust 2024
| new 0.5.0 | Nov 10, 2025 |
|---|---|
| 0.4.0 | Nov 10, 2025 |
| 0.3.0 | Nov 10, 2025 |
| 0.2.0 | Sep 16, 2025 |
| 0.0.0 | Sep 8, 2025 |
#258 in Graphics APIs
Used in 2 crates
(via lykoi_drive)
81KB
2.5K
SLoC
lykoi_gl
this crate provides a stupid simple, mostly type safe, not-at-all-idiomatic, incomplete wrapper over some vague version of OpenGL.
importantly, this has an api that is as close to the C api as reasonable, though multiple concessions were made in the name of "safety". namely:
- the
glGetfunctions (and those similar in nature) are split into multiple functions per output-requested. ie:glGetIntegerv(GL_ACTIVE_TEXTURE, ...)vs [get_active_texture()]. - otherwise, inputs of
glEnumare represented with Rust enums. - others?
all functions are themselves thin wrappers over bindings provided by the gl crate,
re-exported via [raw].
10% sure there is a vulnerability somewhere. I have no idea what I'm doing...
good luck.
Dependencies
~94KB