Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PostProcessManager

PostProcessManager is used to manage one or more post processes or post process pipelines See https://doc.babylonjs.com/how_to/how_to_use_postprocesses

Hierarchy

  • PostProcessManager

Index

Constructors

Methods

Constructors

constructor

  • Creates a new instance PostProcess

    Parameters

    • scene: Scene

      The scene that the post process is associated with.

    Returns PostProcessManager

Methods

directRenderSearch playground for directRender

  • directRender(postProcesses: PostProcess[], targetTexture?: Nullable<RenderTargetWrapper>, forceFullscreenViewport?: boolean, faceIndex?: number, lodLevel?: number, doNotBindFrambuffer?: boolean): void
  • Manually render a set of post processes to a texture. Please note, the frame buffer won't be unbound after the call in case you have more render to do.

    Parameters

    • postProcesses: PostProcess[]

      An array of post processes to be run.

    • Optional targetTexture: Nullable<RenderTargetWrapper>

      The render target wrapper to render to.

    • Optional forceFullscreenViewport: boolean

      force gl.viewport to be full screen eg. 0,0,textureWidth,textureHeight

    • Optional faceIndex: number

      defines the face to render to if a cubemap is defined as the target

    • Optional lodLevel: number

      defines which lod of the texture to render to

    • Optional doNotBindFrambuffer: boolean

      If set to true, assumes that the framebuffer has been bound previously

    Returns void

disposeSearch playground for dispose

  • dispose(): void
  • Disposes of the post process manager.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method