You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Update IGetImageListener
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Texture } from 'pixi.js';
|
||||
import { IImageResult } from './IImageResult';
|
||||
|
||||
export interface IGetImageListener
|
||||
{
|
||||
imageReady(id: number, texture: Texture, image?: HTMLImageElement): void;
|
||||
imageReady(result: IImageResult): void;
|
||||
imageFailed(id: number): void;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
export class ColorChannelType
|
||||
{
|
||||
public static CHANNELS_EQUAL: string = 'CHANNELS_EQUAL';
|
||||
public static CHANNELS_UNIQUE: string = 'CHANNELS_UNIQUE';
|
||||
public static CHANNELS_RED: string = 'CHANNELS_RED';
|
||||
public static CHANNELS_GREEN: string = 'CHANNELS_GREEN';
|
||||
public static CHANNELS_BLUE: string = 'CHANNELS_BLUE';
|
||||
public static CHANNELS_DESATURATED: string = 'CHANNELS_DESATURATED';
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from './ColorChannelType';
|
||||
export * from './IAdvancedMap';
|
||||
export * from './IBinaryReader';
|
||||
export * from './IBinaryWriter';
|
||||
|
||||
Reference in New Issue
Block a user