Registry / other / gl33
library0.2.1rscratesunverified

Bindings to OpenGL 3.3 + GL_KHR_debug.

# Cargo.toml [dependencies] gl33 = "0.2.1"
INSTALL
IMPORT
SIG · GL33
G
gl33
otherrustv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gl
use gl33::Gl;

Load OpenGL 3.3 functions.

use gl33::Gl; fn main() { let gl = Gl::load_with(|s| unsafe { std::mem::transmute(get_proc_address(s)) }); println!("OpenGL 3.3 loaded"); }
Debug
Known issues
gotchaRequires a valid OpenGL context and function loader.
fix
Ensure you have an OpenGL context and provide a function loader like glfw or sdl2.
affects: all
Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources
gl33 — cargo add gl33 · libregistry