@equinor/videx-3d
    Preparing search index...

    Function RenderingPipeline

    • 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.

      Parameters

      • __namedParameters: RenderingPipelineProps

        Props for the RenderingPipeline component.

        Props for the RenderingPipeline component.

        • passes: Pass[]

          Ordered list of passes to execute every frame.

        • Optionalpriority?: number

          Frame priority (passed to useFrame). Defaults to 1.

        • Optionalsamples?: number

          Multisample count for the main render target. Defaults to 0.

        • Optionalsupersample?: number

          Render target supersampling factor. Defaults to 1.

      Returns null

      const passes = useMemo(
      () => [new OITRenderPass(scene, camera), new OutputPass()],
      [scene, camera],
      );
      return <RenderingPipeline passes={passes} />;