gl-rs

An OpenGL function pointer loader for Rust

APACHE-2.0 License

Downloads
16.9M
Stars
680
Committers
75

gl-rs

Overview

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:

gl

README

An OpenGL function pointer loader for the Rust Programming Language.

[dependencies]
gl = "0.14.0"

gl_generator

README

Code generators for creating bindings to the Khronos OpenGL APIs.

[build-dependencies]
gl_generator = "0.14.0"

khronos_api

README

The Khronos XML API Registry, exposed as byte string constants.

[build-dependencies]
khronos_api = "3.1.0"

Compiling from source

khronos_api makes use of git submodules. You will need to initialize these before building:

git submodule update --init

webgl_generator

README

Code generators for creating bindings to the WebGL APIs.

[build-dependencies]
webgl_generator = "0.2.0"

webgl-stdweb

README

WebGL bindings using stdweb

[build-dependencies]
webgl_stdweb = "0.3.0"