ShaderPipeline
Implements
Index
Constructors
constructor
Parameters
options: ShaderPipelineOptions
Returns ShaderPipeline
Properties
publicreadonlyname
publicreadonlypasses
Methods
publicdispose
Disposes the passes and intermediate framebuffers, the pipeline cannot be used afterwards
Returns void
publicprocess
Runs every pass in order, rendering the final pass into
destinationParameters
source: ShaderPassSource
destination: ShaderPassDestination
optionaloptions: ShaderPipelineProcessOptions
Returns void
Runs an ordered chain of ShaderPasses:
source → pass0 → fb0 → pass1 → fb1 → ... → destinationIntermediate framebuffers are allocated lazily, one per pass, sized by each pass's
scalerelative to the source. The final pass renders into the caller's destination at the destination's own size, which is what upsamples a downscaled chain back up.