Options
All
  • Public
  • Public/Protected
  • All
Menu

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

  • Creates a new instance PostProcess

    Parameters

    • scene: Scene

      The scene that the post process is associated with.

    Returns PostProcessManager

Methods

  • 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

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

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme