Explorar o código

TypeScript: WebGLAttributes.js

linbingquan %!s(int64=6) %!d(string=hai) anos
pai
achega
a633488dab
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      src/renderers/webgl/WebGLAttributes.d.ts

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

@@ -0,0 +1,9 @@
+export class WebGLAttributes {
+	constructor(gl: CanvasRenderingContext2D | WebGLRenderingContext);
+
+	get(attribute: any): any;
+
+	remove(attribute: any): void;
+
+	update(attribute: any, bufferType: Array): void;
+}