ZakBlystone / metacade

A cross-platform embeddable arcade framework for use in video games
Other
6 stars 2 forks source link

[Request] offscreen WebGL implementation or bindings #8

Open rileyzzz opened 4 years ago

rileyzzz commented 4 years ago

The addition of WebGL bindings to allow for the creation of an offscreen WebGL canvas or context. This would allow javascript code to utilize the GPU to render to the canvas in the background, and then either redraw the image in the Arcade window through script, or perhaps use a provided render method to draw the triangles straight in Unreal.

rileyzzz commented 4 years ago

I found an old example of a v8 implementation after a while of searching around: https://github.com/rectalogic/v8-webgl Unfortunately I don't know much about C++, so I'm not sure if this is of any use