BBMOD_PostProcessor.draw

A function defined in BBMOD_PostProcessor.gml

draw(_surface, _x, _y[, _depth[, _normals]])

Description

If enabled, draws a surface with post-processing applied, otherwise draws the original surface.

Arguments

Name Type Description
_surface Id.Surface The surface to draw with post-processing applied.
_x Real The X position to draw the surface at.
_y Real The Y position to draw the surface at.
_depth Id.Surface A surface containing the scene depth encoded into 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

Struct.BBMOD_PostProcessor Returns self.

See also

BBMOD_PostProcessor.Enabled

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.