You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling supplying my own renderer to the Stage in other to solve oblems with textures until this is resolved: #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?
The text was updated successfully, but these errors were encountered:
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.
I'm struggling supplying my own renderer to the Stage in other to solve oblems with textures until this is resolved: #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?
The text was updated successfully, but these errors were encountered: