Skip to content

MergeSimpleModule

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

Overview

Merges two sorted arrays into a single sorted array (with a simpler algorithm than MergeModule).

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

Class MergeSimpleModule

outputSize: number (sum of inputASize and inputBSize)

import { MergeSimpleModule } from 'scenerystack/alpenglow';

Constructor

new MergeSimpleModule( providedOptions : MergeSimpleModuleOptions<T> )

Instance Methods

Instance Properties

inputA : BufferArraySlot<T>

(readonly)

inputB : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

Type MergeSimpleModuleOptions

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

Source Code

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