Skip to content

HistogramModule

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

Overview

Applies a histogram operation to an array.

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

Class HistogramModule

inputSize: number

import { HistogramModule } from 'scenerystack/alpenglow';

Constructor

new HistogramModule( providedOptions : HistogramModuleOptions<T> )

Instance Methods

Instance Properties

input : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<number>

(readonly)

Type HistogramModuleOptions

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

Source Code

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