Sign in to follow this  
ewinter

Create texture from image or canvas without caching it

Recommended Posts

How can I create textures from canvas or html image object without adding them to Texture/BaseTexture caches? I tried PIXI.Texture.from

EDIT:

Does this cache anything?

var baseTexture = new PIXI.BaseTexture(image);
var texture = new PIXI.Texture(baseTexture);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.