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

gl_fragment_program_state Struct Reference

#include <mtypes.h>


Detailed Description

Context state for fragment programs.

Data Fields

GLboolean Enabled
 User-set fragment program enable flag.
GLboolean _Enabled
 Enabled and _valid_ user program?
struct gl_fragment_programCurrent
 User-bound fragment program.
struct gl_fragment_program_Current
 Currently enabled and valid fragment program (including internal programs, user-defined fragment programs and GLSL fragment shaders).
GLfloat Parameters [MAX_PROGRAM_ENV_PARAMS][4]
 Env params.
GLboolean _MaintainTexEnvProgram
 Should fixed-function texturing be implemented with a fragment prog?
struct gl_fragment_program_TexEnvProgram
 Program to emulate fixed-function texture env/combine (see above).
struct gl_program_cacheCache
 Cache of fixed-function programs.

Field Documentation

GLboolean gl_fragment_program_state::Enabled

User-set fragment program enable flag.

GLboolean gl_fragment_program_state::_Enabled

Enabled and _valid_ user program?

struct gl_fragment_program* gl_fragment_program_state::Current [read]

User-bound fragment program.

struct gl_fragment_program* gl_fragment_program_state::_Current [read]

Currently enabled and valid fragment program (including internal programs, user-defined fragment programs and GLSL fragment shaders).

This is the program we must use when rendering.

GLfloat gl_fragment_program_state::Parameters[MAX_PROGRAM_ENV_PARAMS][4]

Env params.

GLboolean gl_fragment_program_state::_MaintainTexEnvProgram

Should fixed-function texturing be implemented with a fragment prog?

struct gl_fragment_program* gl_fragment_program_state::_TexEnvProgram [read]

Program to emulate fixed-function texture env/combine (see above).

struct gl_program_cache* gl_fragment_program_state::Cache [read]

Cache of fixed-function programs.


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