PixelLightAPI  .
Public Types | Public Member Functions
PLRenderer::FixedFunctions::Fog Class Reference

Fog modes. More...

#include <FixedFunctions.h>

List of all members.

Public Types

enum  Enum {
  Exp = 0, Exp2 = 1, Linear = 2, Number = 3,
  Unknown = 4
}

Public Member Functions

 pl_enum (Enum) pl_enum_value(Exp
Fog effect intensifies exponentially (f=1/((e^(d *density))))") pl_enum_value(Exp2
Fog effect intensifies Fog
effect intensifies
exponentially with the square
of the 
distance (f=1/((e^((d *density)^2))))") pl_enum_value(Linear

Detailed Description

Fog modes.


Member Enumeration Documentation

Enumerator:
Exp 

Fog effect intensifies exponentially (f=1/((e^(d*density))))

Exp2 

Fog effect intensifies exponentially with the square of the distance (f=1/((e^((d*density)^2))))

Linear 

Fog effect intensifies linearly between the start and end points (f=(end-d)/(end-start))

Number 

Number of fog modes

Unknown 

Unknown fog mode


Member Function Documentation

Fog effect intensifies PLRenderer::FixedFunctions::Fog::exponentially ( = 1/((e^(d*density))))
Fog effect intensifies Fog effect intensifies exponentially with the square of the PLRenderer::FixedFunctions::Fog::distance ( = 1/((e^((d*density)^2))))

The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:38
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported