Skip to content

TwoPassModule

Overview

TODO: doc

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

Class TwoPassModule

inputSize: TwoPassRunSize

import { TwoPassModule } from 'scenerystack/alpenglow';

Constructor

new TwoPassModule( providedOptions : TwoPassModuleOptions )

Instance Methods

Instance Properties

config : BufferSlot<TwoPassConfig>

(readonly)

coarseRenderableFaces : BufferSlot<TwoPassCoarseRenderableFace[]>

(readonly)

coarseEdges : BufferSlot<LinearEdge[]>

(readonly)

renderProgramInstructions : BufferSlot<number[]>

(readonly)

output : TextureViewSlot

(readonly)

initializeAddressesModule : MainTwoPassInitializeAddressesModule

(readonly)

coarseModule : MainTwoPassCoarseModule

(readonly)

fineModule : MainTwoPassFineModule

(readonly)

Type TwoPassModuleOptions

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

PipelineBlueprintOptions

Type TwoPassRunSize

import type { TwoPassRunSize } from 'scenerystack/alpenglow';
  • numBins: number
  • numCoarseRenderableFaces: number

Source Code

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