own-tiles-renderer2
Version:
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification
23 lines (14 loc) • 326 B
TypeScript
interface TileInfo {
type : String;
buffer : Uint8Array;
version : String;
}
export interface CMPTBaseResult {
version : String;
tiles : Array< TileInfo >;
}
export class CMPTLoaderBase {
workingPath : string;
load( url : String ) : Promise< CMPTBaseResult >;
parse( buffer : ArrayBuffer ) : CMPTBaseResult;
}