Version: 5.0.0-alpha.25.0.0-alpha.35.0.0-rc5.0.0-rc.25.0.0-rc.35.0.05.0.15.0.25.0.35.0.45.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.25.2.35.2.45.2.55.3.05.3.15.3.25.3.35.3.45.3.55.3.65.3.75.3.85.3.95.3.105.3.115.3.125.4.0-rc5.4.0-rc.15.4.0-rc.25.4.0-rc.36.0.0-rc6.0.0-rc.26.0.0-rc.36.0.06.0.16.0.26.0.36.0.46.1.0-rc6.1.0-rc.26.1.0-rc.36.1.0-rc.46.1.0-rc.56.1.0-rc.66.1.06.1.16.1.26.1.36.2.06.2.16.2.26.3.06.3.16.3.26.4.06.4.26.5.0-rc6.5.0-rc.26.5.0-rc.36.5.0-rc.46.5.06.5.16.5.26.5.36.5.46.5.56.5.66.5.76.5.86.5.96.5.107.0.0-alpha7.0.0-alpha.27.0.0-alpha.37.0.0-beta7.0.0-beta.27.0.0-beta.37.0.0-beta.47.0.0-beta.57.0.0-beta.67.0.07.0.17.0.27.0.37.0.47.0.57.1.0-alpha7.1.07.1.17.1.27.1.37.1.47.2.0-beta7.2.0-beta.27.2.0-beta.37.2.0-beta.47.2.0-rc7.2.0-rc.27.2.0-rc.37.2.07.2.17.2.27.2.37.2.47.3.0-rc7.3.0-rc.27.3.07.3.17.3.27.3.37.4.07.4.2
"use strict";
class ObjectRenderer {
/**
* @param renderer - The renderer this manager works for.
*/
constructor(renderer) {
this.renderer = renderer;
}
/** Stub method that should be used to empty the current batch by rendering objects now. */
flush() {
/** Generic destruction method that frees all resources. This should be called by subclasses. */
destroy() {
this.renderer = null;
* Stub method that initializes any state required before
* rendering starts. It is different from the `prerender`
* signal, which occurs every frame, in that it is called
* whenever an object requests _this_ renderer specifically.
start() {
/** Stops the renderer. It should free up any state and become dormant. */
stop() {
this.flush();
* Keeps the object to render. It doesn't have to be
* rendered immediately.
* @param {PIXI.DisplayObject} _object - The object to render.
render(_object) {
exports.ObjectRenderer = ObjectRenderer;
//# sourceMappingURL=ObjectRenderer.js.map