Skip to content

ParallelRasterEdgeScan

Overview

Multiple stream compaction: distributes the relevant data from the RasterEdgeClips into the reducible (RasterEdge) and complete (RasterCompleteEdge) locations, and generates the needed chunkIndices array as a byproduct.

NOTE: Has similar code to ParallelRasterSplitScan

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class ParallelRasterEdgeScan

import { ParallelRasterEdgeScan } from 'scenerystack/alpenglow';

Static Methods

dispatch( workgroupSize : number, clippedChunks : ParallelStorageArray<RasterClippedChunk>, edgeClips : ParallelStorageArray<RasterEdgeClip>, edgeReduces0 : ParallelStorageArray<RasterSplitReduceData>, edgeReduces1 : ParallelStorageArray<RasterSplitReduceData>, edgeReduces2 : ParallelStorageArray<RasterSplitReduceData>, numEdgeClips : number, reducibleEdges : ParallelStorageArray<RasterEdge>, completeEdges : ParallelStorageArray<RasterCompleteEdge>, chunkIndices : ParallelStorageArray<number>, debugEdgeScan : ParallelStorageArray<RasterSplitReduceData> ) : Promise<void>

Source Code

See the source for ParallelRasterEdgeScan.ts in the alpenglow repository.