UNPKG

@lightningjs/renderer

Version:
13 lines (12 loc) 674 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 { WebGlCoreCtxTexture } from './WebGlCoreCtxTexture.js'; export declare class WebGlCoreCtxRenderTexture extends WebGlCoreCtxTexture { textureSource: RenderTexture; framebuffer: WebGLFramebuffer | null; constructor(glw: WebGlContextWrapper, memManager: TextureMemoryManager, textureSource: RenderTexture); onLoadRequest(): Promise<Dimensions>; free(): void; }