ianmackenzie / elm-3d-scene

A high-level 3D rendering engine for Elm, with support for lighting, shadows, and realistic materials.
https://package.elm-lang.org/packages/ianmackenzie/elm-3d-scene/latest/
Mozilla Public License 2.0
205 stars 27 forks source link

Add ability to set ID on WebGL canvas element #95

Open ianmackenzie opened 3 years ago

ianmackenzie commented 3 years ago

This would be useful to allow for things like using ports to grab framebuffer contents.

ianmackenzie commented 3 years ago

In this case, would probably also need to use https://package.elm-lang.org/packages/elm-explorations/webgl/latest/WebGL#preserveDrawingBuffer