MFrameContext::HwFogParams Struct Reference

#include <MFrameContext.h>

Class Description

Public Attributes

bool HwFogEnabled
 If hardware fog is enabled.
 
FogMode HwFogMode
 Hardware fog mode, like Linear, Exponential, Exponential squared. More...
 
float HwFogStart
 The near distance used in the linear fog. More...
 
float HwFogEnd
 The far distance used in the linear fog. More...
 
float HwFogDensity
 The density of the exponential fog. More...
 
MColor HwFogColor
 The fog color includes (r, g, b, a). More...
 

Member Data Documentation

FogMode HwFogMode

Hardware fog mode, like Linear, Exponential, Exponential squared.

+ Examples:
float HwFogStart

The near distance used in the linear fog.

+ Examples:
float HwFogEnd

The far distance used in the linear fog.

+ Examples:
float HwFogDensity

The density of the exponential fog.

+ Examples:
MColor HwFogColor

The fog color includes (r, g, b, a).

+ Examples:

The documentation for this struct was generated from the following file:
  • MFrameContext.h