浏览代码

Add FeatureTable.d.ts

Garrett Johnson 5 年之前
父节点
当前提交
1ecd14bcc8
共有 1 个文件被更改,包括 39 次插入0 次删除
  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;
+
+}