Skip to content

Fog

Abstract base class for fog types.

Not intended for direct use.

Construction

Constructors


Fog()

cpp
vglx::Fog::Fog(Color color)
ParameterDescription
colorColor of the fog.

Constructs a base Fog object.

Properties

color Color

cpp
Color color

Color of the fog.

Functions

GetType() FogType pure virtual

cpp
virtual FogType vglx::Fog::GetType() const=0

Returns fog type.

Released under the MIT License.