Supplying custom renderer doesn't work properly?
I'm struggling supplying my own renderer to the Stage in other to solve oblems with textures until this is resolved: https://github.com/Izzimach/react-pixi/issues/55.
The problem I'm facing is that React doesn't mount the canvas element I supply to the renderer (or the one it automatically generates). Setting the view on the renderer after creation itself as well doesn't work.
Did this work at any time? Am I missing doing it properly?
At the moment if you pass a custom renderer into PIXIStage it will assume that you've bound it to a canvas that was created outside of the normal React flow. So yes, you have to create your own canvas, create a renderer, and pass that into the PIXIStage
I would guess you want to render to a texture that you've created? There could be an (optional) additional prop to pass in to specify the render texture for that, if that's what you want. But it's currently not supported.