/** * The object returned by the TimelineTask. Represents a PIXI animation. * @class Timeline * @private * @memberof jibo.rendering.animation */ /** * Adds a texture for the Timeline. * @method jibo.rendering.animation.Timeline#addTexture * @private * @param {PIXI.Texture} texture Texture reference. * @param {String} id The id name of texture in cache. */ /** * Gets a texture/frame that was loaded for this Timeline * @method jibo.rendering.animation.Timeline#getTexture * @private * @param {String} id The id name of texture in cache. * @returns {PIXI.Texture} Texture reference. */ /** * Adds shapes to the Timeline. * @method jibo.rendering.animation.Timeline#addShapes * @private * @param {jibo.rendering.animation.Shapes} shapes Texture reference. */ /** * Adds spritesheet to the Timeline. * @method jibo.rendering.animation.Timeline#addSpritesheet * @private * @param {jibo.rendering.animation.Spritesheet} spritesheet Spritesheet reference. */ /** * Uploads all the textures to the GPU. * @method jibo.rendering.animation.Timeline#upload * @param {PIXI.WebGLRenderer} renderer Reference to face renderer. * @param {Function} callback Callback when complete. */ /** * Destroys Timeline object. * @method jibo.rendering.animation.Timeline#destroy */