Explorar el Código

TypeScript: WebGLAnimation.js

linbingquan hace 6 años
padre
commit
3ec3e7be03
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      src/renderers/webgl/WebGLAnimation.d.ts

+ 9 - 0
src/renderers/webgl/WebGLAnimation.d.ts

@@ -0,0 +1,9 @@
+export class WebGLAnimation {
+	start(): void;
+
+	stop(): void;
+
+	setAnimationLoop(callback: Function): void;
+
+	setContext(value: CanvasRenderingContext2D | WebGLRenderingContext): void;
+}