#include <mtypes.h>
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) |
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 |
GL_EXT_fog_coord.
GLfloat gl_fog_attrib::_Scale |
(End == Start) ? 1.0 : 1.0 / (End - Start)