Parcourir la source

TypeScript: WebGLAnimation.js

linbingquan il y a 6 ans
Parent
commit
3ec3e7be03
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  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;
+}