Skip to content

ReduceModule

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

Overview

A full reduction, with the method of reduction chosen based on the type and configuration.

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

Class ReduceModule

inputSize: number

import { ReduceModule } from 'scenerystack/alpenglow';

Constructor

new ReduceModule( providedOptions : ReduceModuleOptions<T> )

Instance Methods

Instance Properties

input : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

slots : BufferArraySlot<T>[]

(readonly)

internalSlots : BufferArraySlot<T>[]

(readonly)

Type ReduceModuleOptions

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

PipelineBlueprintOptions

Source Code

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