Jump to content

Using Canvas Renderer


Recommended Posts

I have an issue where I am trying to dynamically render multiple UI components in an Electron application. I am using a separate application instance for each of these UI components and eventually I reach the Chromium WebGL context limit. So it looks like the correct approach is to use canvas rendering for all of the components that do not require WebGL. The problem is that PIXI no longer supports forcing the canvas renderer. I read that I can use PIXI.js-legacy for access to the canvas renderer but when I use this in combination with standard PIXI, it creates numerous other issues throughout the application (e.g. the default interaction manager is never initialized). 

What should I do to fix this? Am I importing the libraries incorrectly and causing some conflict?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...