d13 Posted December 31, 2016 Share Posted December 31, 2016 Hi Everyone, I've got some old v3.x code that looks like this: let o = new this.Graphics(); let texture = o.generateTexture() In v4.3 it's giving me this deprecation warning: Deprecation Warning: graphics generate texture has moved to the renderer. Or to render a graphics to a texture using canvas please use generateCanvasTexture. The doc for `generateTexture` take me here: http://pixijs.download/release/docs/PIXI.SystemRenderer.html#generateTexture ... but that indicates that it's a method of PIXI.Texture..? Can anyone suggest what I need to do to update my existing code? Quote Link to comment Share on other sites More sharing options...
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.