Skip to content

MainTwoPassTileModule

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/modules/rasterize-two-pass/MainTwoPassTileModule.ts for the most up-to-date information.

Overview

TODO: doc

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

Class MainTwoPassTileModule

inputSize: number - numRenderableFaces * numTiles

import { MainTwoPassTileModule } from 'scenerystack/alpenglow';

Constructor

new MainTwoPassTileModule( providedOptions : MainTwoPassTileModuleOptions )

Instance Methods

Instance Properties

config : BufferSlot<TwoPassConfig>

(readonly)

input

initialRenderableFaces : BufferSlot<TwoPassInitialRenderableFace[]>

(readonly)

initialEdges : BufferSlot<LinearEdge[]>

(readonly)

coarseRenderableFaces : BufferSlot<TwoPassCoarseRenderableFace[]>

(readonly)

output

coarseEdges : BufferSlot<LinearEdge[]>

(readonly)

addresses : BufferSlot<number[]>

(readonly)

Type MainTwoPassTileModuleOptions

import type { MainTwoPassTileModuleOptions } from 'scenerystack/alpenglow';

Source Code

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