#opengl #gl #api-bindings

gl11

OpenGL 1.1 bindings, based on gl-rs

2 releases

0.1.1 May 25, 2023
0.1.0 May 24, 2023

#1015 in Graphics APIs

27 downloads per month

Apache-2.0

8KB

gl11

Version License Downloads

Uses gl_generator to create OpenGL 1.1 bindings

[dependencies]
gl11 = "0.1"

Usage

Usage is similar to the gl crate, but with OpenGL 1.1 functions.

Check out the example on how to draw a triangle with GLFW


lib.rs:

An OpenGL loader generated by gl-rs.

This is useful for directly accessing the underlying OpenGL API via the GlDevice::with_gl method. It is also used internally by the GlDevice implementation.

No runtime deps

~105KB