Class PostProcessManager
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
direct RenderSearch playground for directRender
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
Disposes of the post process manager.
Returns void
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