Props for the RenderingPipeline component.
Props for the RenderingPipeline component.
Ordered list of passes to execute every frame.
Optionalpriority?: numberFrame priority (passed to useFrame). Defaults to 1.
Optionalsamples?: numberMultisample count (MSAA) for the main render target. Defaults to 0.
This applies hardware MSAA to the pipeline's shared render target and is only
meaningful for an opaque RenderPass-based pipeline. When the base pass
is an OITRenderPass, keep this at 0: OIT renders into its own
multi-target buffers, so pipeline-level MSAA would add cost without
anti-aliasing the resolved result. Use OITRenderPass.opaqueSamples
instead to multisample the opaque sub-pass inside OIT.
Optionalsupersample?: numberRender target supersampling factor. Defaults to 1.
Generic render pipeline component that runs an ordered list of Pass objects against a shared
WebGLRenderTarget(color + depth texture). Use it to compose custom rendering pipelines — e.g. a OITRenderPass based pipeline for order-independent transparency.