#webgl #rc #counting

webgl-rc

WebGL wrapper with resources reference counting

13 releases

0.1.12 Oct 12, 2024
0.1.11 Jun 10, 2024
0.1.10 May 11, 2024
0.1.8 Oct 1, 2022
0.1.0 Jun 28, 2022

#127 in Science

Download history 7/week @ 2024-12-09 2/week @ 2025-02-03 6/week @ 2025-02-10 14/week @ 2025-02-17

752 downloads per month

MIT license

85KB
2.5K SLoC

Rust WebGL Wrapper

Every resource in webgl-rc contains a reference counter. So, cloning texture or buffer will create a new reference to the same resource.

Example

Source: https://github.com/monkin/webgl-rc/tree/master/webgl-rc-example

Live: https://monkin.github.io/webgl-rc/webgl-rc-example/dist/index.html

Dependencies

~10–14MB
~250K SLoC