BBMOD_PostProcessEffect.draw

A function defined in BBMOD_PostProcessEffect.gml

draw(_surfaceDest, _surfaceSrc, _depth, _normals)

Description

Applies the effect to given surface.

Arguments

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.

Returns

Id.Surface Returns a surface with the effect applied. Must be either _surfaceDest or _surfaceSrc!

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.