SuperCompressedSplatData
SplatLoader.SuperCompressedSplatData exported from @manycore/aholo-viewer.
Hierarchy
- SplatData
- SuperCompressedSplatData
Constructors
constructor
-
new SuperCompressedSplatData(
maxShDegree?: number,
maxTextureSize?: number,
blockCounts?: number,
): SuperCompressedSplatDataParameters
- maxShDegree: number
- maxTextureSize: number
- blockCounts: number
Returns SuperCompressedSplatData
Inherited from SplatData.constructor
Properties
Readonlymax Sh Degree
maxShDegree: number
Inherited from SplatData.maxShDegree
Readonlymax Texture Size
maxTextureSize: number
Inherited from SplatData.maxTextureSize
stream
stream?: { chunks?: ReadableStream<SplatStreamChunk>; byteLengths?: number[] }
block Counts
blockCounts: number
Inherited from SplatData.blockCounts
Readonlypack Type
counts
counts: number
sh Degree
shDegree: number
Methods
init Block
finish Block
-
Returns void
Inherited from SplatData.finishBlock
init Chunk
commit Chunk
-
Returns Promise<void>
Inherited from SplatData.commitChunk
get Sampler Source
-
Parameters
- index: number
- offset: number
Returns Uint8Array
Inherited from SplatData.getSamplerSource