avocado-old/packages/graphics/index.js

20 lines
657 B
JavaScript
Raw Normal View History

2019-10-27 13:34:44 -05:00
import {SCALE_MODES} from '@pixi/constants';
import {Renderer, BatchRenderer} from '@pixi/core';
import {settings} from '@pixi/settings';
2019-03-25 19:02:30 -05:00
2019-03-25 19:03:34 -05:00
export {Canvas} from './canvas';
2019-03-18 20:06:47 -05:00
export {Color} from './color';
export {Container} from './container';
2019-03-19 18:04:37 -05:00
export {hasGraphics} from './has-graphics';
2019-09-19 03:19:24 -05:00
export {Image} from './image';
2019-03-18 20:06:47 -05:00
export {Primitives} from './primitives';
export {Renderable} from './renderable';
export {Renderer} from './renderer';
export {Sprite} from './sprite';
2019-03-30 05:08:33 -05:00
export {Stage} from './stage';
2019-11-03 10:41:40 -06:00
export {Text} from './text';
2019-04-19 00:50:15 -05:00
// Pixelly!
2019-10-27 13:34:44 -05:00
settings.SCALE_MODE = SCALE_MODES.NEAREST;
// Lil pixi manegement.
Renderer.registerPlugin('batch', BatchRenderer);