bracket-lib icon indicating copy to clipboard operation
bracket-lib copied to clipboard

Integration with external GL Context/Yew ?

Open Hessesian opened this issue 3 years ago • 0 comments

Is it possible to pass into BTerm canvas or gl context provided by external source ?

Use case would be to include the RLTK game loop inside Yew component which provides it's own gl callback and gl context, but looking at the BACKEND struct inside game loop, it uses some sort of abstractions that could be expanded to include provided gl.

Advantage would be that one can create web pages with this rltk games included and no need for re-building wasm package with bindings

Hessesian avatar Jul 01 '22 07:07 Hessesian