This repository contains the necessary building blocks for OpenGL wrapper libraries. For more information on each crate, see their respective READMEs listed below.
The following crates are contained in this repository:
An OpenGL function pointer loader for the Rust Programming Language.
[dependencies]
gl = "0.6.0"
Code generators for creating bindings to the Khronos OpenGL APIs.
[build-dependencies]
gl_generator = "0.5.0"
The Khronos XML API Registry, exposed as byte string constants.
[build-dependencies]
khronos_api = "1.0.0"
khronos_api
uses a git submodule. You will need to initialize it before building:
git submodule update --init
A batch cargo script is provided at bin/cargo
. See the script
for some example usages.