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

gl_polygon_attrib Struct Reference

#include <mtypes.h>


Detailed Description

Polygon attribute group (GL_POLYGON_BIT).

Data Fields

GLenum FrontFace
 Either GL_CW or GL_CCW.
GLenum FrontMode
 Either GL_POINT, GL_LINE or GL_FILL.
GLenum BackMode
 Either GL_POINT, GL_LINE or GL_FILL.
GLboolean _FrontBit
 0=GL_CCW, 1=GL_CW
GLboolean CullFlag
 Culling on/off flag.
GLboolean SmoothFlag
 True if GL_POLYGON_SMOOTH is enabled.
GLboolean StippleFlag
 True if GL_POLYGON_STIPPLE is enabled.
GLenum CullFaceMode
 Culling mode GL_FRONT or GL_BACK.
GLfloat OffsetFactor
 Polygon offset factor, from user.
GLfloat OffsetUnits
 Polygon offset units, from user.
GLboolean OffsetPoint
 Offset in GL_POINT mode.
GLboolean OffsetLine
 Offset in GL_LINE mode.
GLboolean OffsetFill
 Offset in GL_FILL mode.

Field Documentation

GLenum gl_polygon_attrib::FrontFace

Either GL_CW or GL_CCW.

GLenum gl_polygon_attrib::FrontMode

Either GL_POINT, GL_LINE or GL_FILL.

GLenum gl_polygon_attrib::BackMode

Either GL_POINT, GL_LINE or GL_FILL.

GLboolean gl_polygon_attrib::_FrontBit

0=GL_CCW, 1=GL_CW

GLboolean gl_polygon_attrib::CullFlag

Culling on/off flag.

GLboolean gl_polygon_attrib::SmoothFlag

True if GL_POLYGON_SMOOTH is enabled.

GLboolean gl_polygon_attrib::StippleFlag

True if GL_POLYGON_STIPPLE is enabled.

GLenum gl_polygon_attrib::CullFaceMode

Culling mode GL_FRONT or GL_BACK.

GLfloat gl_polygon_attrib::OffsetFactor

Polygon offset factor, from user.

GLfloat gl_polygon_attrib::OffsetUnits

Polygon offset units, from user.

GLboolean gl_polygon_attrib::OffsetPoint

Offset in GL_POINT mode.

GLboolean gl_polygon_attrib::OffsetLine

Offset in GL_LINE mode.

GLboolean gl_polygon_attrib::OffsetFill

Offset in GL_FILL mode.


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