Homesplat-transform API Reference - v3.0.0
    Preparing search index...

    Function materializeToDataTable

    • Materialize a ChunkSource into the legacy columnar DataTable representation.

      Each requested layer is read chunk-by-chunk and scattered into the appropriate named columns (x, y, z, rot_*, scale_*, opacity, f_dc_*, f_rest_*, plus extras).

      Parameters

      • src: ChunkSource

        The source to materialize.

      • pool: ChunkDataPool

        The ChunkData pool used for the temporary read buffers; its chunkSize must be >= the source's.

      • Optionallayers: Set<ChunkLayer>

        Optional layer filter; when set, only these layers (intersected with the source's) are read and allocated. Omit for every available layer. Consumers of a subset (e.g. voxelization needs only position + geometric) skip the unused columns entirely rather than loading and discarding them.

      Returns Promise<DataTable>

      A DataTable holding the source's gaussians in canonical column form.