mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Updates
This commit is contained in:
parent
5eff3f00a1
commit
7bee66f02c
@ -1,5 +1,4 @@
|
|||||||
import { BufferImageSource, Filter, FilterSystem, GlProgram, RenderSurface, Texture } from 'pixi.js';
|
import { BufferImageSource, Filter, FilterSystem, GlProgram, RenderSurface, Texture } from 'pixi.js';
|
||||||
import { TextureUtils } from '../TextureUtils';
|
|
||||||
|
|
||||||
export interface PaletteMapFilterOptions
|
export interface PaletteMapFilterOptions
|
||||||
{
|
{
|
||||||
@ -98,11 +97,6 @@ export class PaletteMapFilter extends Filter
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
(async () =>
|
|
||||||
{
|
|
||||||
console.log(await TextureUtils.generateImageUrl(lutTexture));
|
|
||||||
})();
|
|
||||||
|
|
||||||
super({
|
super({
|
||||||
gpuProgram: null,
|
gpuProgram: null,
|
||||||
glProgram,
|
glProgram,
|
||||||
|
@ -9,17 +9,17 @@ declare global
|
|||||||
{
|
{
|
||||||
NitroDevTools?:
|
NitroDevTools?:
|
||||||
{
|
{
|
||||||
roomEngine(): RoomEngine;
|
roomEngine: RoomEngine;
|
||||||
textureCache(): TextureSource<any>[];
|
textureCache: TextureSource<any>[];
|
||||||
texturePool(): { [index: string]: { [index: string]: Texture[] } };
|
texturePool: { [index: string]: { [index: string]: Texture[] } };
|
||||||
textureGC(): TextureGCSystem;
|
textureGC: TextureGCSystem;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.NitroDevTools = {
|
window.NitroDevTools = {
|
||||||
roomEngine: () => GetRoomEngine(),
|
roomEngine: GetRoomEngine(),
|
||||||
textureCache: () => GetRenderer().texture.managedTextures,
|
textureCache: GetRenderer().texture.managedTextures,
|
||||||
texturePool: () => GetTexturePool().textures,
|
texturePool: GetTexturePool().textures,
|
||||||
textureGC: () => GetRenderer().textureGC
|
textureGC: GetRenderer().textureGC
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user