2 unstable releases

Uses old Rust 2015

0.2.0 Nov 4, 2018
0.1.0 Apr 1, 2018

#1 in #stdweb

Download history 188/week @ 2023-12-13 183/week @ 2023-12-20 82/week @ 2023-12-27 106/week @ 2024-01-03 190/week @ 2024-01-10 165/week @ 2024-01-17 128/week @ 2024-01-24 74/week @ 2024-01-31 157/week @ 2024-02-07 223/week @ 2024-02-14 190/week @ 2024-02-21 230/week @ 2024-02-28 213/week @ 2024-03-06 189/week @ 2024-03-13 250/week @ 2024-03-20 242/week @ 2024-03-27

916 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

~8MB
~139K SLoC