D3d_set_fog_enabled - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Sets whether fog is currently used so that it can be toggled without having to reset the other parameters each time.

Parameters

  • enable boolean value whether to enable fog or not

Return Values

The function has no return values.

Example Call

// Demonstrates setting the fog values and then toggling the fog without losing the color and extra paremters.
d3d_set_fog(true, c_teal, 1, 2000);
d3d_set_fog_enabled(false);
d3d_set_fog_enabled(true);

NOTOC