Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Enum Cogl.FogMode

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglFogMode
Enum : FogMode
The fog mode determines the equation used to calculate the fogging blend
factor while fogging is enabled. The simplest COGL_FOG_MODE_LINEAR mode
determines f as:
|[
f = end - eye_distance / end - start
]|
Where eye_distance is the distance of the current fragment in eye
coordinates from the origin.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cogl
Method
Cogl.set_fog (Color fog_color, FogMode mode, gfloat density, gfloat z_near, gfloat z_far) : none
Enables fogging.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:58 GMT+0800 (HKT)