UNPKG

pixi-stats

Version:

WebGL stats for pixi.js or/and three.js

25 lines (17 loc) 539 B
// eslint-disable-next-line @typescript-eslint/no-explicit-any export type Stub = Record<string, any>; export type Renderer = Stub; export type Texture = Stub; export type IStats = Stub; export interface PIXIGlTexture { gl: WebGLRenderingContext; texture: Texture; } export type PIXIGlTextureArray = PIXIGlTexture[]; export type PIXIGlTextureRecord = Record<string, PIXIGlTexture>; export interface PIXIRendererGlTexture { // pixi v6 managedTextures?: PIXIGlTextureArray; // pixi v8 _glTextures?: PIXIGlTextureRecord; }