@lightningtv/renderer
Version:
Lightning 3 Renderer
13 lines (12 loc) • 658 B
TypeScript
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;
}