You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { BLEND_MODES, ColorMatrix, Texture } from 'pixi.js';
|
||||
|
||||
export interface IRoomCameraWidgetEffect
|
||||
{
|
||||
name: string;
|
||||
minLevel: number;
|
||||
texture: Texture;
|
||||
colorMatrix: ColorMatrix;
|
||||
blendMode: BLEND_MODES;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Texture } from 'pixi.js';
|
||||
import { IRoomCameraWidgetEffect } from './IRoomCameraWidgetEffect';
|
||||
import { IRoomCameraWidgetSelectedEffect } from './IRoomCameraWidgetSelectedEffect';
|
||||
|
||||
export interface IRoomCameraWidgetManager
|
||||
{
|
||||
init(): Promise<void>;
|
||||
applyEffects(texture: Texture, selectedEffects: IRoomCameraWidgetSelectedEffect[], isZoomed: boolean): Promise<HTMLImageElement>;
|
||||
effects: Map<string, IRoomCameraWidgetEffect>;
|
||||
isLoaded: boolean;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { IRoomCameraWidgetEffect } from './IRoomCameraWidgetEffect';
|
||||
|
||||
export interface IRoomCameraWidgetSelectedEffect
|
||||
{
|
||||
effect: IRoomCameraWidgetEffect;
|
||||
alpha: number;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './IRoomCameraWidgetEffect';
|
||||
export * from './IRoomCameraWidgetManager';
|
||||
export * from './IRoomCameraWidgetSelectedEffect';
|
||||
Reference in New Issue
Block a user