mainTwoPassCoarseWGSL¶
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.