PostProcess2D Module
Post-processing chain for 2D rendering.
Functions and values
| Function or value |
Description
|
Full Usage:
apply (ctx, sceneTarget, passes, rtPool)
Parameters:
GameContext
sceneTarget : RenderTexture2D
passes : PostProcessPass[]
rtPool : IRenderTargetPool
|
Applies a chain of post-processing passes via ping-pong render textures. The scene is already rendered to sceneTarget. Each pass renders to a pooled RT (except the last, which renders to the backbuffer).
|
Mibo