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

gl_colorbuffer_attrib Struct Reference

#include <mtypes.h>


Detailed Description

Color buffer attribute group (GL_COLOR_BUFFER_BIT).

Data Fields

GLuint ClearIndex
 Index to use for glClear.
GLclampf ClearColor [4]
 Color to use for glClear.
GLuint IndexMask
 Color index write mask.
GLubyte ColorMask [4]
 Each flag is 0xff or 0x0.
GLenum DrawBuffer [MAX_DRAW_BUFFERS]
 Which buffer to draw into.
GLboolean DitherFlag
 Dither enable flag.
GLenum ClampFragmentColor
 GL_TRUE, GL_FALSE or GL_FIXED_ONLY_ARB.
GLenum ClampReadColor
 GL_TRUE, GL_FALSE or GL_FIXED_ONLY_ARB.
alpha testing
GLboolean AlphaEnabled
 Alpha test enabled flag.
GLenum AlphaFunc
 Alpha test function.
GLclampf AlphaRef
 Alpha reference value.
Blending
GLboolean BlendEnabled
 Blending enabled flag.
GLenum BlendSrcRGB
 Blending source operator.
GLenum BlendDstRGB
 Blending destination operator.
GLenum BlendSrcA
 GL_INGR_blend_func_separate.
GLenum BlendDstA
 GL_INGR_blend_func_separate.
GLenum BlendEquationRGB
 Blending equation.
GLenum BlendEquationA
 GL_EXT_blend_equation_separate.
GLfloat BlendColor [4]
 Blending color.
Logic op
GLenum LogicOp
 Logic operator.
GLboolean IndexLogicOpEnabled
 Color index logic op enabled flag.
GLboolean ColorLogicOpEnabled
 RGBA logic op enabled flag.
GLboolean _LogicOpEnabled
 RGBA logic op + EXT_blend_logic_op enabled flag.

Field Documentation

GLuint gl_colorbuffer_attrib::ClearIndex

Index to use for glClear.

GLclampf gl_colorbuffer_attrib::ClearColor[4]

Color to use for glClear.

GLuint gl_colorbuffer_attrib::IndexMask

Color index write mask.

GLubyte gl_colorbuffer_attrib::ColorMask[4]

Each flag is 0xff or 0x0.

GLenum gl_colorbuffer_attrib::DrawBuffer[MAX_DRAW_BUFFERS]

Which buffer to draw into.

GLboolean gl_colorbuffer_attrib::AlphaEnabled

Alpha test enabled flag.

GLenum gl_colorbuffer_attrib::AlphaFunc

Alpha test function.

GLclampf gl_colorbuffer_attrib::AlphaRef

Alpha reference value.

GLboolean gl_colorbuffer_attrib::BlendEnabled

Blending enabled flag.

GLenum gl_colorbuffer_attrib::BlendSrcRGB

Blending source operator.

GLenum gl_colorbuffer_attrib::BlendDstRGB

Blending destination operator.

GLenum gl_colorbuffer_attrib::BlendSrcA

GL_INGR_blend_func_separate.

GLenum gl_colorbuffer_attrib::BlendDstA

GL_INGR_blend_func_separate.

GLenum gl_colorbuffer_attrib::BlendEquationRGB

Blending equation.

GLenum gl_colorbuffer_attrib::BlendEquationA

GL_EXT_blend_equation_separate.

GLfloat gl_colorbuffer_attrib::BlendColor[4]

Blending color.

GLenum gl_colorbuffer_attrib::LogicOp

Logic operator.

GLboolean gl_colorbuffer_attrib::IndexLogicOpEnabled

Color index logic op enabled flag.

GLboolean gl_colorbuffer_attrib::ColorLogicOpEnabled

RGBA logic op enabled flag.

GLboolean gl_colorbuffer_attrib::_LogicOpEnabled

RGBA logic op + EXT_blend_logic_op enabled flag.

GLboolean gl_colorbuffer_attrib::DitherFlag

Dither enable flag.

GLenum gl_colorbuffer_attrib::ClampFragmentColor

GL_TRUE, GL_FALSE or GL_FIXED_ONLY_ARB.

GLenum gl_colorbuffer_attrib::ClampReadColor

GL_TRUE, GL_FALSE or GL_FIXED_ONLY_ARB.


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