Skip to content

ParallelRasterChunkIndexPatch

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/parallel/raster-clip/ParallelRasterChunkIndexPatch.ts for the most up-to-date information.

Overview

Updates the reducible/complete chunks with proper destination edge indices (so the chunk references the range of edges it is comprised of).

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

Class ParallelRasterChunkIndexPatch

import { ParallelRasterChunkIndexPatch } from 'scenerystack/alpenglow';

Static Methods

dispatch( workgroupSize : number, chunkIndexMap : ParallelStorageArray<number>, chunkIndices : ParallelStorageArray<number>, clippedChunks : ParallelStorageArray<RasterClippedChunk>, numClippedChunks : number, reducibleChunks : ParallelStorageArray<RasterChunk>, completeChunks : ParallelStorageArray<RasterCompleteChunk> ) : Promise<void>

Source Code

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