mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-30 03:00:51 +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 { TextureUtils } from '../TextureUtils';
|
||||
|
||||
export interface PaletteMapFilterOptions
|
||||
{
|
||||
@ -98,11 +97,6 @@ export class PaletteMapFilter extends Filter
|
||||
})
|
||||
});
|
||||
|
||||
(async () =>
|
||||
{
|
||||
console.log(await TextureUtils.generateImageUrl(lutTexture));
|
||||
})();
|
||||
|
||||
super({
|
||||
gpuProgram: null,
|
||||
glProgram,
|
||||
|
@ -9,17 +9,17 @@ declare global
|
||||
{
|
||||
NitroDevTools?:
|
||||
{
|
||||
roomEngine(): RoomEngine;
|
||||
textureCache(): TextureSource<any>[];
|
||||
texturePool(): { [index: string]: { [index: string]: Texture[] } };
|
||||
textureGC(): TextureGCSystem;
|
||||
roomEngine: RoomEngine;
|
||||
textureCache: TextureSource<any>[];
|
||||
texturePool: { [index: string]: { [index: string]: Texture[] } };
|
||||
textureGC: TextureGCSystem;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
window.NitroDevTools = {
|
||||
roomEngine: () => GetRoomEngine(),
|
||||
textureCache: () => GetRenderer().texture.managedTextures,
|
||||
texturePool: () => GetTexturePool().textures,
|
||||
textureGC: () => GetRenderer().textureGC
|
||||
roomEngine: GetRoomEngine(),
|
||||
textureCache: GetRenderer().texture.managedTextures,
|
||||
texturePool: GetTexturePool().textures,
|
||||
textureGC: GetRenderer().textureGC
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user