Skip to content

MainReduceModule

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/MainReduceModule.ts for the most up-to-date information.

Overview

A single level of standalone reduction.

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

Class MainReduceModule

inputSize: number

import { MainReduceModule } from 'scenerystack/alpenglow';

Constructor

new MainReduceModule( providedOptions : MainReduceModuleOptions<T> )

Instance Methods

Instance Properties

input : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

Type MainReduceModuleOptions

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

Source Code

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