Skip to content

MainScanModule

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/webgpu/modules/gpu/MainScanModule.ts for the most up-to-date information.

Overview

A single level of scan (prefix sum) with configurable options.

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

Class MainScanModule

inputSize: number

import { MainScanModule } from 'scenerystack/alpenglow';

Constructor

new MainScanModule( providedOptions : MainScanModuleOptions<T> )

Instance Methods

Instance Properties

input : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

reduction : BufferArraySlot<T> | null

(readonly)

scannedReduction : BufferArraySlot<T> | null

(readonly)

scannedDoubleReduction : BufferArraySlot<T> | null

(readonly)

Type MainScanModuleOptions

import type { MainScanModuleOptions } from 'scenerystack/alpenglow';

Source Code

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