@lightningjs/renderer
Version:
Lightning 3 Renderer
13 lines (12 loc) • 674 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 { 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;
}