avocado-old/packages/graphics/index.js
2019-11-03 10:41:40 -06:00

20 lines
657 B
JavaScript

import {SCALE_MODES} from '@pixi/constants';
import {Renderer, BatchRenderer} from '@pixi/core';
import {settings} from '@pixi/settings';
export {Canvas} from './canvas';
export {Color} from './color';
export {Container} from './container';
export {hasGraphics} from './has-graphics';
export {Image} from './image';
export {Primitives} from './primitives';
export {Renderable} from './renderable';
export {Renderer} from './renderer';
export {Sprite} from './sprite';
export {Stage} from './stage';
export {Text} from './text';
// Pixelly!
settings.SCALE_MODE = SCALE_MODES.NEAREST;
// Lil pixi manegement.
Renderer.registerPlugin('batch', BatchRenderer);