Prepare plugin support for objects with multiple BaseTextures (#3830)
* Add ability for Prepare plugin to upload the all textures for AnimatedSprites * Add a new function to loop through all the textures of an AnimatedSprite and add them to the queue * Moved Duplicate `findBaseTextures` function from WebGL & Canvas Prepare to Base prepare as static * Moved all the `findObjectType` methods to their appropiate class as static methods for consistency * Updated Comments to reflect "static" not "private" methods * Added the findTexturesForAnimatedSprites logic to the standard findBasicTextures This cleans up the need to worry about ordering the registration of hooks and only calls upload once * Split the prepare.register function into 2 registerFindHook & registerUploadHook * Some simple cleanup before the PR * comment formatting * removed dependenvy on `extras` from prepare * Fix small comment issues with pull request Removed the [optional] reference in the comments for both new register methods. Added a small example to the docs * Add deprecation method * Added Check before calling hooks and reformatted JSDoc Lint wouldn't pass without the params in the JSDoc * added `instanceof` check and fixed up the return true only if a texture is found
batch-dev
bugfix/polygon-offset
dev
dev-blendmode-add-again
dev-canvas-renderer-dirty-transform
dev-graphics-fix-batches
dev-line-join
dev-offscreen-canvas
dev-renderTexture-pool
dev-replace-buble-with-babel
englercj/update-s3
feature-nine-slice-canvas-tint
fix-svg
master
multiple-pointer-down-events
upgrade
v4.x
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0-rc.3
v5.0.0-rc.2
v5.0.0-rc
v5.0.0-alpha.3
v5.0.0-alpha.2
v5.0.0-alpha
v5.0.0
v4.8.8
v4.8.7
v4.8.6
v4.8.5
v4.8.4
v4.8.3
v4.8.2
v4.8.1
v4.8.0
v4.7.3
v4.7.2
v4.7.1
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.6
v4.5.5
v4.5.4
v4.5.3
v4.5.2
v4.5.1
v4.5.0
floattex
|
---|
|
src/deprecation.js |
---|
src/prepare/BasePrepare.js |
---|
src/prepare/canvas/CanvasPrepare.js |
---|
src/prepare/webgl/WebGLPrepare.js |
---|
test/prepare/BasePrepare.js |
---|