/** * Setup texture */ export declare function setupTexture(gl: WebGLRenderingContext, width: number, height: number): WebGLTexture; /** * Setup framebuffer that can be used to render to a texture */ export declare function setupFramebufferWithTexture(gl: any, texture: any): WebGLFramebuffer; /** * Setup program */ export declare function setupProgram(gl: WebGLRenderingContext, shaders: Array>): Promise; /** * Load and compile a shader from file */ export declare function setupShaderFromFile(gl: any, type: any, source: string | string[]): Promise;