// Type definitions for [~THE LIBRARY NAME~] [~OPTIONAL VERSION NUMBER~] // Project: [~THE PROJECT NAME~] // Definitions by: [~YOUR NAME~] <[~A URL FOR YOU~]> /*~ This is the module template file. You should rename it to index.d.ts *~ and place it in a folder with the same name as the module. *~ For example, if you were writing a file for "super-greeter", this *~ file should be 'super-greeter/index.d.ts' */ // /*~ If this module is a UMD module that exposes a global variable 'myLib' when // *~ loaded outside a module loader environment, declare that global here. // *~ Otherwise, delete this declaration. // */ // export as namespace myLib; /*~ If this module has methods, declare them as functions like so. */ export function createProgramFromScripts(gl: WebGLRenderingContext, shaderScriptIds: string[], opt_attribs?: string[], opt_locations?: number[], opt_errorCallback?: any): any; export function resizeCanvasToDisplaySize(canvas: HTMLCanvasElement, multiplier?: number): boolean;