WebGL: TypeScript for WebGLAttributes.js and WebGLAnimation.js
@@ -0,0 +1,9 @@
+export class WebGLAnimation {
+ start(): void;
+
+ stop(): void;
+ setAnimationLoop(callback: Function): void;
+ setContext(value: CanvasRenderingContext2D | WebGLRenderingContext): void;
+}
+export class WebGLAttributes {
+ constructor(gl: CanvasRenderingContext2D | WebGLRenderingContext);
+ get(attribute: any): any;
+ remove(attribute: any): void;
+ update(attribute: any, bufferType: Array): void;