Skip to content

Commit 6ba948d

Browse files
committed
Adjust class listing order
1 parent c80d62f commit 6ba948d

3 files changed

Lines changed: 238 additions & 215 deletions

File tree

src/core/renderer/API.md

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,66 @@ parse( buffer: ArrayBuffer ): any
127127
Parses a raw buffer into a tile result object. Must be implemented by subclasses.
128128

129129

130+
## CMPTLoaderBase
131+
132+
_extends [`LoaderBase`](#loaderbase)_
133+
134+
Base loader for the CMPT (Composite) tile format. Parses the CMPT binary structure
135+
and returns the individual inner tile buffers with their format types. Extend this
136+
class to integrate CMPT loading into a specific rendering engine.
137+
138+
139+
### .parse
140+
141+
```js
142+
parse( buffer: ArrayBuffer ): Object
143+
```
144+
145+
Parses a CMPT buffer and returns an object containing each inner tile's type and raw buffer.
146+
147+
148+
## I3DMLoaderBase
149+
150+
_extends [`LoaderBase`](#loaderbase)_
151+
152+
Base loader for the I3DM (Instanced 3D Model) tile format. Parses the I3DM binary
153+
structure and extracts the embedded GLB bytes (or fetches an external GLTF) along
154+
with batch and feature tables. Extend this class to integrate I3DM loading into a
155+
specific rendering engine.
156+
157+
158+
### .parse
159+
160+
```js
161+
parse(
162+
buffer: ArrayBuffer
163+
): Promise<{version: string, featureTable: FeatureTable, batchTable: BatchTable, glbBytes: Uint8Array, gltfWorkingPath: string}>
164+
```
165+
166+
Parses an I3DM buffer and returns the raw tile data.
167+
168+
169+
## PNTSLoaderBase
170+
171+
_extends [`LoaderBase`](#loaderbase)_
172+
173+
Base loader for the PNTS (Point Cloud) tile format. Parses the PNTS binary
174+
structure and extracts the feature and batch tables containing point positions,
175+
colors, and normals. Extend this class to integrate PNTS loading into a specific
176+
rendering engine.
177+
178+
179+
### .parse
180+
181+
```js
182+
parse(
183+
buffer: ArrayBuffer
184+
): Promise<{version: string, featureTable: FeatureTable, batchTable: BatchTable}>
185+
```
186+
187+
Parses a PNTS buffer and returns the raw tile data.
188+
189+
130190
## B3DMLoaderBase
131191

132192
_extends [`LoaderBase`](#loaderbase)_
@@ -279,45 +339,6 @@ Returns the array of values for the given property key across all features. Retu
279339
`null` if the key is not in the table.
280340

281341

282-
## CMPTLoaderBase
283-
284-
_extends [`LoaderBase`](#loaderbase)_
285-
286-
Base loader for the CMPT (Composite) tile format. Parses the CMPT binary structure
287-
and returns the individual inner tile buffers with their format types. Extend this
288-
class to integrate CMPT loading into a specific rendering engine.
289-
290-
291-
### .parse
292-
293-
```js
294-
parse( buffer: ArrayBuffer ): Object
295-
```
296-
297-
Parses a CMPT buffer and returns an object containing each inner tile's type and raw buffer.
298-
299-
300-
## I3DMLoaderBase
301-
302-
_extends [`LoaderBase`](#loaderbase)_
303-
304-
Base loader for the I3DM (Instanced 3D Model) tile format. Parses the I3DM binary
305-
structure and extracts the embedded GLB bytes (or fetches an external GLTF) along
306-
with batch and feature tables. Extend this class to integrate I3DM loading into a
307-
specific rendering engine.
308-
309-
310-
### .parse
311-
312-
```js
313-
parse(
314-
buffer: ArrayBuffer
315-
): Promise<{version: string, featureTable: FeatureTable, batchTable: BatchTable, glbBytes: Uint8Array, gltfWorkingPath: string}>
316-
```
317-
318-
Parses an I3DM buffer and returns the raw tile data.
319-
320-
321342
## LRUCache
322343

323344
Least-recently-used cache for managing tile content lifecycle. Tracks which items
@@ -512,27 +533,6 @@ scheduleUnload(): void
512533
Schedules `unloadUnusedContent` to run asynchronously via microtask.
513534

514535

515-
## PNTSLoaderBase
516-
517-
_extends [`LoaderBase`](#loaderbase)_
518-
519-
Base loader for the PNTS (Point Cloud) tile format. Parses the PNTS binary
520-
structure and extracts the feature and batch tables containing point positions,
521-
colors, and normals. Extend this class to integrate PNTS loading into a specific
522-
rendering engine.
523-
524-
525-
### .parse
526-
527-
```js
528-
parse(
529-
buffer: ArrayBuffer
530-
): Promise<{version: string, featureTable: FeatureTable, batchTable: BatchTable}>
531-
```
532-
533-
Parses a PNTS buffer and returns the raw tile data.
534-
535-
536536
## PriorityQueue
537537

538538
Priority queue for scheduling async work with a concurrency limit. Items are

0 commit comments

Comments
 (0)