core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

gl_fog_attrib Struct Reference

#include <mtypes.h>


Detailed Description

Fog attribute group (GL_FOG_BIT).

Data Fields

GLboolean Enabled
 Fog enabled flag.
GLfloat Color [4]
 Fog color.
GLfloat Density
 Density >= 0.0.
GLfloat Start
 Start distance in eye coords.
GLfloat End
 End distance in eye coords.
GLfloat Index
 Fog index.
GLenum Mode
 Fog mode.
GLboolean ColorSumEnabled
GLenum FogCoordinateSource
 GL_EXT_fog_coord.
GLfloat _Scale
 (End == Start) ? 1.0 : 1.0 / (End - Start)

Field Documentation

GLboolean gl_fog_attrib::Enabled

Fog enabled flag.

GLfloat gl_fog_attrib::Color[4]

Fog color.

GLfloat gl_fog_attrib::Density

Density >= 0.0.

GLfloat gl_fog_attrib::Start

Start distance in eye coords.

GLfloat gl_fog_attrib::End

End distance in eye coords.

GLfloat gl_fog_attrib::Index

Fog index.

GLenum gl_fog_attrib::Mode

Fog mode.

GLboolean gl_fog_attrib::ColorSumEnabled

GLenum gl_fog_attrib::FogCoordinateSource

GL_EXT_fog_coord.

GLfloat gl_fog_attrib::_Scale

(End == Start) ? 1.0 : 1.0 / (End - Start)


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4