Skip to content

MainReduceAtomicModule

Overview

Meant for reduction on u32/i32 values (could be generalized to things that can be represented with multiple atomic values, haven't run into that yet).

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

Class MainReduceAtomicModule

inputSize: number

import { MainReduceAtomicModule } from 'scenerystack/alpenglow';

Constructor

new MainReduceAtomicModule( providedOptions : MainReduceAtomicModuleOptions<T> )

Instance Methods

Instance Properties

input : BufferArraySlot<T>

(readonly)

output : BufferSlot<T>

(readonly)

Type MainReduceAtomicModuleOptions

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

Source Code

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