Explorar o código

Add FeatureTable.d.ts

Garrett Johnson %!s(int64=5) %!d(string=hai) anos
pai
achega
1ecd14bcc8
Modificáronse 1 ficheiros con 39 adicións e 0 borrados
  1. 39 0
      src/utilities/FeatureTable.d.ts

+ 39 - 0
src/utilities/FeatureTable.d.ts

@@ -0,0 +1,39 @@
+export class FeatureTable {
+
+	constructor(
+		buffer : ArrayBuffer,
+		start : Number,
+		headerLength : Number,
+		binLength : Number
+	);
+
+	getKeys() : Array< String >;
+
+	getData(
+		key : String,
+		count : Number,
+		defaultComponentType? : String | null,
+		defaultType? : String | null
+	) : Number | String | ArrayBufferView;
+
+}
+
+export class BatchTable {
+
+	constructor(
+		buffer : ArrayBuffer,
+		batchSize : Number,
+		start : Number,
+		headerLength : Number,
+		binLength : Number
+	);
+
+	getKeys() : Array< String >;
+
+	getData(
+		key : String,
+		componentType : String | null,
+		type : String | null
+	) : Number | String | ArrayBufferView;
+
+}