import type { GlFullscreenProgram, GlRenderState, GlRenderTarget } from '@flighthq/types/contract'; /** Clears a render target to fully transparent and binds it as the current framebuffer. */ export declare function clearGlRenderTarget(state: GlRenderState, target: GlRenderTarget): void; export declare function compileGlFullscreenProgram(gl: WebGL2RenderingContext, fragmentSource: string): GlFullscreenProgram; /** * Draws a fullscreen pass: binds `inputs[i]` to texture unit i and its `u_texture{i}` sampler, binds * `dest` (or the canvas when null), sets normal premultiplied-alpha blending, calls `setUniforms` for * per-pass uploads, then draws the quad. */ export declare function drawGlFullscreenPass(state: GlRenderState, program: Readonly, inputs: ReadonlyArray, dest: Readonly | null, setUniforms: (gl: WebGL2RenderingContext, program: Readonly) => void): void; //# sourceMappingURL=glFullscreenPass.d.ts.map