Browse Source

TypeScript: WebGLAttributes.js

linbingquan 6 years ago
parent
commit
a633488dab
1 changed files with 9 additions and 0 deletions
  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;
+}