2 unstable releases

Uses old Rust 2015

0.2.0 Nov 4, 2018
0.1.0 Apr 1, 2018

#2 in #stdweb

Download history 177/week @ 2024-07-21 233/week @ 2024-07-28 176/week @ 2024-08-04 216/week @ 2024-08-11 169/week @ 2024-08-18 234/week @ 2024-08-25 227/week @ 2024-09-01 187/week @ 2024-09-08 185/week @ 2024-09-15 258/week @ 2024-09-22 214/week @ 2024-09-29 35/week @ 2024-10-06 134/week @ 2024-10-13 146/week @ 2024-10-20 182/week @ 2024-10-27 153/week @ 2024-11-03

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

Apache-2.0

655KB
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

~9.5MB
~164K SLoC