UNPKG

@lightningtv/renderer

Version:
13 lines (12 loc) 658 B
import type { Dimensions } from '../../../common/CommonTypes.js'; import type { TextureMemoryManager } from '../../TextureMemoryManager.js'; import type { WebGlContextWrapper } from '../../lib/WebGlContextWrapper.js'; import type { RenderTexture } from '../../textures/RenderTexture.js'; import { WebGlCtxTexture } from './WebGlCtxTexture.js'; export declare class WebGlCtxRenderTexture extends WebGlCtxTexture { textureSource: RenderTexture; framebuffer: WebGLFramebuffer | null; constructor(glw: WebGlContextWrapper, memManager: TextureMemoryManager, textureSource: RenderTexture); onLoadRequest(): Promise<Dimensions>; free(): void; }