Lets you write WebGL2 rendering code entirely in Ruby, running under ruby.wasm in the browser. Resolves uniform/attribute locations from a glslkit reflection manifest instead of calling getActiveUniform, and surfaces shader compile errors as Ruby exceptions pointing at the original file and line. REQUIRES a ruby.wasm runtime (the `js` gem) to run — it installs under a normal CRuby/JRuby/TruffleRuby, but raises a clear LoadError instead of working there. This gem is meant to be bundled into a ruby.wasm build (see README), not required from a regular Ruby process.
Required Ruby Version
>= 3.1
Authors
kyubey1228