mainHistogramWGSL¶
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/wgsl/gpu/mainHistogramWGSL.ts for the most up-to-date information.
Overview¶
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type mainHistogramWGSLOptions¶
- input: BufferSlot<T[]>
- output: BufferSlot<number[]>
- numBins: number
- getBin: ( value: WGSLExpressionT ) => WGSLExpressionU32
- & OptionalLengthExpressionable & RakedSizable
Source Code¶
See the source for mainHistogramWGSL.ts in the alpenglow repository.