Sign in to follow this  

PIXI beginTextureFill issue

Recommended Posts


I need to upgrade PIXI to the newest version, because I must support canvas, but I have this problem:


What is the alternative of beginTextureFill after PIXI 5.2.0?

What does object-based options mean?



Share this post

Link to post
Share on other sites

It means you have to pass an object :) We've changed API a bit.

You can see the IF here:

beginTextureFill({ texture: myTexture });

Btw, now it works with canvas2d if you take dev version (https, I made it a week ago or so:

Edited by ivan.popelyshev

Share this post

Link to post
Share on other sites
16 minutes ago, cDecheva said:

Thanks for the answer. I fixed it and with the version from dev works for both Canvas and WebGL.

I still have one warning :


How can I fix it?

Use not-minified js file, place a breakpoint in a deprecation, figure out where is it called from, post an issue or Pull Request in

Share this post

Link to post
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.