/** * Create a program object and make current * @param gl GL context * @param vshader a vertex shader program (string) * @param fshader a fragment shader program (string) * @return true, if the program object was created and successfully made current */ export declare const initShaders: (gl: any, vshader: any, fshader: any) => boolean; /** * Create the linked program object * @param gl GL context * @param vshader a vertex shader program (string) * @param fshader a fragment shader program (string) * @return created program object, or null if the creation has failed */ export declare const createProgram: (gl: any, vshader: any, fshader: any) => any; /** * Create a shader object * @param gl GL context * @param type the type of the shader object to be created * @param source shader program (string) * @return created shader object, or null if the creation has failed. */ export declare const loadShader: (gl: any, type: any, source: any) => any; /** * Initialize and get the rendering for WebGL * @param canvas element * @param opt_debug flag to initialize the context for debugging * @return the rendering context for WebGL */ export declare const getWebGLContext: (...arg: any[]) => any;