f32 near_
Distance where the fog starts to cover objects.
Definition fog.hpp:41
f32 far_
Distance where the fog fully covers objects.
Definition fog.hpp:42
Defines settings for depth-based environmental fog.
Definition fog.hpp:40
Fog Import(BufferView buffer)
Parses a binary file and converts it to a Fog struct.
bool IsOfType(BufferView buffer)
Tests if the provided file is a fog config.
Buffer Export(const Fog &fog)
Converts a fog config to a binary file representation.