A function defined in BBMOD_PostProcessEffect.gml
draw(_surfaceDest, _surfaceSrc, _depth, _normals)
Applies the effect to given surface.
Name | Type | Description |
---|---|---|
_surfaceDest | Id.Surface |
The destination surface. |
_surfaceSrc | Id.Surface |
The surface to apply the post-processing effect to. |
_depth | Id.Surface |
A surface containing the scene depth encoded in the RGB channels or undefined if not available. |
_normals | Id.Surface |
A surface containing the scene's world-space normals in the RGB channels or undefined if not available. |
Id.Surface
Returns a surface with the effect applied. Must be either _surfaceDest
or _surfaceSrc
!
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.