Sfoglia il codice sorgente

TypeScript: WebGLAttributes.js

linbingquan 6 anni fa
parent
commit
a633488dab
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  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;
+}