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

    Function processSourceBridged

    • Apply an ordered action list to a ChunkSource, streaming the chunk-native runs and bridging only the DataTable-only runs. Consecutive actions are grouped into maximal same-mode runs (order preserved): a chunk-native run (SOURCE_ACTION_KINDS) goes through processSource; a DataTable-only run (decimate, the GPU voxel filters, …) materializes once, runs processDataTable, and re-bridges to a source via dataTableToChunkSource. So the not-yet-chunked ops do their work inline as islands and everything around them keeps streaming.

      Parameters

      • source: ChunkSource

        The input source (consumed; the returned source owns it).

      • actions: ProcessAction[]

        Actions to apply in order.

      • pool: ChunkDataPool

        Pool for the chunk-native passes and the bridge's chunk size.

      • Optionaloptions: ProcessOptions

        Process options (e.g. createDevice for the GPU islands).

      Returns Promise<ChunkSource>

      The processed source.