Skip to main content

ShaderPipelineOptions

Index

Properties

optionalcache

cache?: boolean

Optionally cache the output until .flagDirty() is called

This can be a performance optimization to avoid re-running a pipeline that doesn't change

Default is false

graphicsContext

optionalheight

height?: number

shaders

shaders: string[]

Provide an ordered list of fragment sources

optionalwidth

width?: number