Pārlūkot izejas kodu

TypeScript: WebGLAttributes.js

linbingquan 6 gadi atpakaļ
vecāks
revīzija
a633488dab
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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;
+}