2 unstable releases

Uses old Rust 2015

0.2.0 Nov 4, 2018
0.1.0 Apr 1, 2018

#1 in #stdweb

Download history 312/week @ 2024-04-02 184/week @ 2024-04-09 248/week @ 2024-04-16 252/week @ 2024-04-23 232/week @ 2024-04-30 215/week @ 2024-05-07 215/week @ 2024-05-14 220/week @ 2024-05-21 242/week @ 2024-05-28 185/week @ 2024-06-04 171/week @ 2024-06-11 208/week @ 2024-06-18 200/week @ 2024-06-25 6/week @ 2024-07-02 112/week @ 2024-07-09 178/week @ 2024-07-16

527 downloads per month
Used in 8 crates (2 directly)

Apache-2.0

660KB
1.5K SLoC

webgl_generator

Version License Downloads

Code generators for creating bindings to the WebGL APIs.

Usage

See tests/test_webgl_stdweb for an example of how to use these generators.

Generator types

Stdweb generator

The stdweb generator is currently the only supported webgl generator. This generator uses stdweb to bind the relevant javascript APIs, and integrates with the stdweb RenderingContext trait.


lib.rs:

A WebGL bindings generator. It defines a function named Registry::write_bindings which can be used to generate all constants and functions of a given WebGL version.

See the webgl crate for an example of use.

Dependencies

~9MB
~155K SLoC