PostProcessRenderEffect

This represents a set of one or more post processes in Babylon. A post process can be used to apply a shader to a texture after it is rendered.

example

https://doc.babylonjs.com/how_to/how_to_use_postprocessrenderpipeline

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Find examples in Playground
  • Instantiates a post process render effect. A post process can be used to apply a shader to a texture after it is rendered.

    Parameters

    • engine: Engine

      The engine the effect is tied to

    • name: string

      The name of the effect

    • getPostProcesses: function

      A function that returns a set of post processes which the effect will run in order to be run.

    • Optional singleInstance: boolean

      False if this post process can be run on multiple cameras. (default: true)

    Returns PostProcessRenderEffect

Properties

isSupported

Find examples in Playground
isSupported: boolean

Checks if all the post processes in the effect are supported.

Methods

getPostProcesses

Find examples in Playground
  • Gets a list of the post processes contained in the effect.

    Parameters

    • Optional camera: Camera

      The camera to get the post processes on.

    Returns Nullable<Array<PostProcess>>

    The list of the post processes in the effect.

Generated using TypeDoc