Comments (2)
Here's an example to illustrate it a little clearer: https://jsfiddle.net/bigtimebuddy/enhujtbr/
When you remove()
the extension is it removing the Renderer's system from getting installed when the Renderer is created. It does not, however, prevent the installation of the mixins on DisplayObjects. In order to achieve that you need to do something like we discussed here #10392 and not import the code.
from pixijs.
Indeed, and I raised 2 issues because extensions and "renderables" are different topics.
As I answered on #10392 short of patching a number of files, extensions always initialize.
Potentially the extensions could "initialize late", and the mixins would also be applied late. It could be automatic when you first create a Pixi Application
, or allow explicitly calling an extensions init function if that'd be needed. This would allow removing an extension before it has side effects.
from pixijs.
Related Issues (20)
- Feature Request: Put again sync methods in ExtractSystem
- Bug: requestVideoFrameCallback does not seem to be working as expected HOT 1
- Bug: v8.0.3+ addressMode is repeat by default HOT 1
- Feature Request: [v8] Support `breakWords: true` with Pixi.BitmapText HOT 4
- Bug: crash when WebGL2RenderingContext is not available HOT 8
- Feature Request: better tree-shaking HOT 5
- Bug: Assets.load for BitmapFonts broken ? HOT 4
- Bug: TexturePacker anchor point ignored HOT 3
- Bug: TypeError: Cannot read properties of null (reading 'structureDidChange') HOT 5
- Bug: ReferenceError: Can't find variable: WebGL2RenderingContext HOT 2
- Bug: TypeError: RendererClass is not a constructor HOT 3
- Bug: TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader' HOT 1
- Bug: RangeError: Failed to execute 'createBuffer' on 'GPUDevice': createBuffer failed, size is too large for the implementation when mappedAtCreation == true HOT 1
- Bug: TypeError: Cannot read properties of null (reading 'uid') HOT 1
- Bug: The content of multiple texts overlaps with each other. HOT 17
- Bug: [v8] antialias=true drastically cuts performance even when idle HOT 3
- Bug: Arc line cap not re-rendered if graphics is cleared HOT 1
- Bug: v8 mask container bounds changes
- Bug: Unable to add a mask to the text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixijs.