What is the right way to use WebGL calls to update/draw into an existing babylon
RenderTargetTexture? I have an external WASM library (custom version of Skia) that I want to use to render into an existing
RenderTargetTexture. I started out thinking that I could use the
cutomRenderFunction with the hope that the
gl.framebufferTextureLayer(...) would be applied and any gl commands I used would be executed against that texture.
What I found was that the
customRenderFunction isn’t being called, so I must not have something setup correctly to begin with.
All that said, if you understand what I am driving at, do you have a recommended workflow for this?
Thanks in advance!