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

gl_tex_env_combine_state Struct Reference

#include <mtypes.h>


Detailed Description

Texture combine environment state.

Data Fields

GLenum ModeRGB
 GL_REPLACE, GL_DECAL, GL_ADD, etc.
GLenum ModeA
 GL_REPLACE, GL_DECAL, GL_ADD, etc.
GLenum SourceRGB [MAX_COMBINER_TERMS]
 Source terms: GL_PRIMARY_COLOR, GL_TEXTURE, etc.
GLenum SourceA [MAX_COMBINER_TERMS]
GLenum OperandRGB [MAX_COMBINER_TERMS]
 Source operands: GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, etc.
GLenum OperandA [MAX_COMBINER_TERMS]
GLuint ScaleShiftRGB
 0, 1 or 2
GLuint ScaleShiftA
 0, 1 or 2
GLuint _NumArgsRGB
 Number of inputs used for the RGB combiner.
GLuint _NumArgsA
 Number of inputs used for the A combiner.

Field Documentation

GLenum gl_tex_env_combine_state::ModeRGB

GL_REPLACE, GL_DECAL, GL_ADD, etc.

GLenum gl_tex_env_combine_state::ModeA

GL_REPLACE, GL_DECAL, GL_ADD, etc.

GLenum gl_tex_env_combine_state::SourceRGB[MAX_COMBINER_TERMS]

Source terms: GL_PRIMARY_COLOR, GL_TEXTURE, etc.

GLenum gl_tex_env_combine_state::SourceA[MAX_COMBINER_TERMS]

GLenum gl_tex_env_combine_state::OperandRGB[MAX_COMBINER_TERMS]

Source operands: GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, etc.

GLenum gl_tex_env_combine_state::OperandA[MAX_COMBINER_TERMS]

GLuint gl_tex_env_combine_state::ScaleShiftRGB

0, 1 or 2

GLuint gl_tex_env_combine_state::ScaleShiftA

0, 1 or 2

GLuint gl_tex_env_combine_state::_NumArgsRGB

Number of inputs used for the RGB combiner.

GLuint gl_tex_env_combine_state::_NumArgsA

Number of inputs used for the A combiner.


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