toStripedIndexWGSL¶
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/toStripedIndexWGSL.ts for the most up-to-date information.
Overview¶
Converts an index from a normal (blocked) order to a striped order (for improved memory coherence).
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type toStripedIndexWGSLOptions¶
- i: WGSLExpressionU32
represents a normal (blocked) index into data. So 0 is the 1st element, 1 is the 2nd, etc. - & RakedSizable
Source Code¶
See the source for toStripedIndexWGSL.ts in the alpenglow repository.