Skip to content

unrollWGSL

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

Overview

A template that unrolls a simple loop over a range of numbers.

Supports both forward and backward iteration (start < end, or start > end).

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

Source Code

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