Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brendanzab/gl-rs
An OpenGL function pointer loader for Rust
https://github.com/brendanzab/gl-rs
binding-generator computer-graphics opengl rust
Last synced: 1 day ago
JSON representation
An OpenGL function pointer loader for Rust
- Host: GitHub
- URL: https://github.com/brendanzab/gl-rs
- Owner: brendanzab
- License: apache-2.0
- Created: 2013-01-16T23:05:49.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T19:51:18.000Z (11 months ago)
- Last Synced: 2024-12-05T03:04:35.092Z (8 days ago)
- Topics: binding-generator, computer-graphics, opengl, rust
- Language: Rust
- Homepage:
- Size: 2.5 MB
- Stars: 682
- Watchers: 13
- Forks: 115
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - brendanzab/gl-rs - ci.org/brendanzab/gl-rs.svg?branch=master">](https://travis-ci.org/brendanzab/gl-rs) (Libraries / Graphics)
- awesome-rust - brendanzab/gl-rs - ci.org/brendanzab/gl-rs.svg?branch=master">](https://travis-ci.org/brendanzab/gl-rs) (Libraries / Graphics)
- awesome-rust - brendanzab/gl-rs
- awesome-rust-cn - brendanzab/gl-rs
- awesome-rust-zh - brendanzab/gl-rs - [<img src="https://api.travis-ci.org/brendanzab/gl-rs.svg?branch=master">](https://travis-ci.org/brendanzab/gl-rs) (库 / 图像)
- awesome-rust - brendanzab/gl-rs - ci.org/brendanzab/gl-rs.svg?branch=master">](https://travis-ci.org/brendanzab/gl-rs) (库 Libraries / 图像 Graphics)
README
# gl-rs
[![Build Status](https://travis-ci.org/brendanzab/gl-rs.svg?branch=master)](https://travis-ci.org/brendanzab/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
[![Version](https://img.shields.io/crates/v/gl.svg)](https://crates.io/crates/gl) [![License](https://img.shields.io/crates/l/gl.svg)](https://github.com/brendanzab/gl-rs/blob/master/LICENSE) [![Downloads](https://img.shields.io/crates/d/gl.svg)](https://crates.io/crates/gl)
[README](https://github.com/brendanzab/gl-rs/tree/master/gl)
An OpenGL function pointer loader for the Rust Programming Language.
```toml
[dependencies]
gl = "0.14.0"
```### gl_generator
[![Version](https://img.shields.io/crates/v/gl_generator.svg)](https://crates.io/crates/gl_generator) [![License](https://img.shields.io/crates/l/gl_generator.svg)](https://github.com/brendanzab/gl-rs/blob/master/LICENSE) [![Downloads](https://img.shields.io/crates/d/gl_generator.svg)](https://crates.io/crates/gl_generator)
[README](https://github.com/brendanzab/gl-rs/tree/master/gl_generator)
Code generators for creating bindings to the Khronos OpenGL APIs.
```toml
[build-dependencies]
gl_generator = "0.14.0"
```### khronos_api
[![Version](https://img.shields.io/crates/v/khronos_api.svg)](https://crates.io/crates/khronos_api) [![License](https://img.shields.io/crates/l/khronos_api.svg)](https://github.com/brendanzab/gl-rs/blob/master/LICENSE) [![Downloads](https://img.shields.io/crates/d/khronos_api.svg)](https://crates.io/crates/khronos_api)
[README](https://github.com/brendanzab/gl-rs/tree/master/khronos_api)
The Khronos XML API Registry, exposed as byte string constants.
```toml
[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:
```sh
git submodule update --init
```### webgl_generator
[![Version](https://img.shields.io/crates/v/webgl_generator.svg)](https://crates.io/crates/webgl_generator) [![License](https://img.shields.io/crates/l/webgl_generator.svg)](https://github.com/brendanzab/gl-rs/blob/master/LICENSE) [![Downloads](https://img.shields.io/crates/d/webgl_generator.svg)](https://crates.io/crates/webgl_generator)
[README](https://github.com/brendanzab/gl-rs/tree/master/webgl_generator)
Code generators for creating bindings to the WebGL APIs.
```toml
[build-dependencies]
webgl_generator = "0.2.0"
```### webgl-stdweb
[![Version](https://img.shields.io/crates/v/webgl_stdweb.svg)](https://crates.io/crates/webgl_stdweb) [![License](https://img.shields.io/crates/l/webgl_stdweb.svg)](https://github.com/brendanzab/gl-rs/blob/master/LICENSE) [![Downloads](https://img.shields.io/crates/d/webgl_stdweb.svg)](https://crates.io/crates/webgl_stdweb)
[README](https://github.com/brendanzab/gl-rs/tree/master/webgl_stdweb)
WebGL bindings using stdweb
```toml
[build-dependencies]
webgl_stdweb = "0.3.0"
```