Collection of additional hooks for finding assets.
Callback to call after completed.
If prepare is ticking (running).
Collection of additional hooks for processing assets.
Static
uploadsThe default maximum uploads per frame.
Manually add an item to the uploading queue.
Object to add to the queue
Instance of plugin for chaining.
Upload all the textures and graphics to the GPU.
Optional
item: Container<DisplayObject> | Texture<Resource> | BaseTexture<Resource, IAutoDetectOptions> | IDisplayObjectExtendedContainer or display object to search for items to upload or the items to upload themselves,
or optionally ommitted, if items have been added using PIXI.BasePrepare#add prepare.add
.
PIXI.BasePrepare#upload
Generated using TypeDoc
The prepare plugin provides renderer-specific plugins for pre-rendering DisplayObjects. These plugins are useful for asynchronously preparing and uploading to the GPU assets, textures, graphics waiting to be displayed.
Do not instantiate this plugin directly. It is available from the
renderer.prepare
property.Example
Memberof
PIXI