Skip to content

MergeModule

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

Overview

Merges two sorted arrays into a single sorted array.

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

Class MergeModule

outputSize: number (sum of inputASize and inputBSize)

import { MergeModule } from 'scenerystack/alpenglow';

Constructor

new MergeModule( providedOptions : MergeModuleOptions<T> )

Instance Methods

Instance Properties

inputA : BufferArraySlot<T>

(readonly)

inputB : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

Type MergeModuleOptions

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

Source Code

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