mainTwoPassCoarseWGSL¶
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/rasterize-two-pass/mainTwoPassCoarseWGSL.ts for the most up-to-date information.
Overview¶
TODO: doc
Should be dispatched with one workgroup PER coarse renderable face (one thread per face-X-bin).
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type mainTwoPassCoarseWGSLOptions¶
- config: BufferSlot<TwoPassConfig>
input - coarseRenderableFaces: BufferSlot<TwoPassCoarseRenderableFace[]>
- coarseEdges: BufferSlot<LinearEdge[]>
- fineRenderableFaces: BufferSlot<TwoPassFineRenderableFace[]>
output - fineEdges: BufferSlot<LinearEdge[]>
- addresses: BufferSlot<number[]>
- numCoarseRenderableFaces: WGSLExpressionU32
Source Code¶
See the source for mainTwoPassCoarseWGSL.ts in the alpenglow repository.