Browse Source

TypeScript: WebGLAttributes.js

linbingquan 6 năm trước cách đây
mục cha
commit
a633488dab
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  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;
+}