UNPKG

@lightningjs/renderer

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