Interface: CustomLoader
Defined in: niivue/data/FileLoader.ts:39
Custom file loader configuration. The loader function can return either:
- ArrayBuffer for volume data
- MeshLoaderResult for mesh data with positions and indices
Properties
| Property | Type | Defined in |
|---|---|---|
loader | (data: string | ArrayBuffer | Uint8Array) => Promise<any> | niivue/data/FileLoader.ts:41 |
toExt | string | niivue/data/FileLoader.ts:42 |