Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
+21
View File
@@ -0,0 +1,21 @@
import { AbstractRenderer, BrowserAdapter, DOMAdapter, HelloSystem, TextureSource } from 'pixi.js';
HelloSystem.defaultOptions.hello = true;
AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat = false;
TextureSource.defaultOptions.scaleMode = (!(window.devicePixelRatio % 1)) ? 'nearest' : 'linear';
DOMAdapter.set(BrowserAdapter);
export * from '@nitrots/api';
export * from '@nitrots/assets';
export * from '@nitrots/avatar';
export * from '@nitrots/camera';
export * from '@nitrots/communication';
export * from '@nitrots/configuration';
export * from '@nitrots/events';
export * from '@nitrots/localization';
export * from '@nitrots/room';
export * from '@nitrots/session';
export * from '@nitrots/sound';
export * from '@nitrots/utils';
export * from './DevTools';
export * from './pixi-proxy';