diff --git a/src/prepare/BasePrepare.js b/src/prepare/BasePrepare.js index a2005f5..09eb5e5 100644 --- a/src/prepare/BasePrepare.js +++ b/src/prepare/BasePrepare.js @@ -20,7 +20,7 @@ * * @abstract * @class - * @memberof PIXI + * @memberof PIXI.prepare */ export default class BasePrepare { @@ -107,9 +107,9 @@ /** * Upload all the textures and graphics to the GPU. * - * @param {Function|PIXI.DisplayObject|PIXI.Container} item - Either - * the container or display object to search for items to upload or - * the callback function, if items have been added using `prepare.add`. + * @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item - + * Either the container or display object to search for items to upload, the items to upload themselves, + * or the callback function, if items have been added using `prepare.add`. * @param {Function} [done] - Optional callback when all queued uploads have completed */ upload(item, done) @@ -236,7 +236,8 @@ /** * Manually add an item to the uploading queue. * - * @param {PIXI.DisplayObject|PIXI.Container|*} item - Object to add to the queue + * @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to + * add to the queue * @return {PIXI.CanvasPrepare} Instance of plugin for chaining. */ add(item) diff --git a/src/prepare/BasePrepare.js b/src/prepare/BasePrepare.js index a2005f5..09eb5e5 100644 --- a/src/prepare/BasePrepare.js +++ b/src/prepare/BasePrepare.js @@ -20,7 +20,7 @@ * * @abstract * @class - * @memberof PIXI + * @memberof PIXI.prepare */ export default class BasePrepare { @@ -107,9 +107,9 @@ /** * Upload all the textures and graphics to the GPU. * - * @param {Function|PIXI.DisplayObject|PIXI.Container} item - Either - * the container or display object to search for items to upload or - * the callback function, if items have been added using `prepare.add`. + * @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item - + * Either the container or display object to search for items to upload, the items to upload themselves, + * or the callback function, if items have been added using `prepare.add`. * @param {Function} [done] - Optional callback when all queued uploads have completed */ upload(item, done) @@ -236,7 +236,8 @@ /** * Manually add an item to the uploading queue. * - * @param {PIXI.DisplayObject|PIXI.Container|*} item - Object to add to the queue + * @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to + * add to the queue * @return {PIXI.CanvasPrepare} Instance of plugin for chaining. */ add(item) diff --git a/src/prepare/canvas/CanvasPrepare.js b/src/prepare/canvas/CanvasPrepare.js index 4b99d22..0224bb5 100644 --- a/src/prepare/canvas/CanvasPrepare.js +++ b/src/prepare/canvas/CanvasPrepare.js @@ -12,7 +12,8 @@ * An instance of this class is automatically created by default, and can be found at renderer.plugins.prepare * * @class - * @memberof PIXI + * @extends PIXI.prepare.BasePrepare + * @memberof PIXI.prepare */ export default class CanvasPrepare extends BasePrepare { diff --git a/src/prepare/BasePrepare.js b/src/prepare/BasePrepare.js index a2005f5..09eb5e5 100644 --- a/src/prepare/BasePrepare.js +++ b/src/prepare/BasePrepare.js @@ -20,7 +20,7 @@ * * @abstract * @class - * @memberof PIXI + * @memberof PIXI.prepare */ export default class BasePrepare { @@ -107,9 +107,9 @@ /** * Upload all the textures and graphics to the GPU. * - * @param {Function|PIXI.DisplayObject|PIXI.Container} item - Either - * the container or display object to search for items to upload or - * the callback function, if items have been added using `prepare.add`. + * @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item - + * Either the container or display object to search for items to upload, the items to upload themselves, + * or the callback function, if items have been added using `prepare.add`. * @param {Function} [done] - Optional callback when all queued uploads have completed */ upload(item, done) @@ -236,7 +236,8 @@ /** * Manually add an item to the uploading queue. * - * @param {PIXI.DisplayObject|PIXI.Container|*} item - Object to add to the queue + * @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to + * add to the queue * @return {PIXI.CanvasPrepare} Instance of plugin for chaining. */ add(item) diff --git a/src/prepare/canvas/CanvasPrepare.js b/src/prepare/canvas/CanvasPrepare.js index 4b99d22..0224bb5 100644 --- a/src/prepare/canvas/CanvasPrepare.js +++ b/src/prepare/canvas/CanvasPrepare.js @@ -12,7 +12,8 @@ * An instance of this class is automatically created by default, and can be found at renderer.plugins.prepare * * @class - * @memberof PIXI + * @extends PIXI.prepare.BasePrepare + * @memberof PIXI.prepare */ export default class CanvasPrepare extends BasePrepare { diff --git a/src/prepare/webgl/WebGLPrepare.js b/src/prepare/webgl/WebGLPrepare.js index 1ef7467..eb7023f 100644 --- a/src/prepare/webgl/WebGLPrepare.js +++ b/src/prepare/webgl/WebGLPrepare.js @@ -7,7 +7,8 @@ * An instance of this class is automatically created by default, and can be found at renderer.plugins.prepare * * @class - * @memberof PIXI + * @extends PIXI.prepare.BasePrepare + * @memberof PIXI.prepare */ export default class WebGLPrepare extends BasePrepare {