Skip to main content

ShaderPipelineProcessOptions

Index

Properties

optionalelapsed

elapsed?: number

Elapsed milliseconds forwarded to each pass's u_elapsed_ms

optionalsources

sources?: Record<string, ShaderPassSource>

Additional named sources bound to every pass after its own (u_image, u_original, ...), each record key is bound as the sampler uniform of that name.

Materials use this to flow their images into the pipeline. Reserved pass source names cannot be overridden.

optionaluniforms

Uniform values forwarded to every pass, merged over each pass's own uniforms.

Materials use this to flow their custom uniforms and built-ins into the pipeline.

Page Options