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

gl_texture_unit Struct Reference

#include <mtypes.h>


Detailed Description

Texture unit state.

Contains enable flags, texture environment/function/ combiners, texgen state, pointers to current texture objects and post-filter color tables.

Data Fields

GLbitfield Enabled
 bitmask of TEXTURE_*_BIT flags
GLbitfield _ReallyEnabled
 0 or exactly one of TEXTURE_*_BIT flags
GLenum EnvMode
 GL_MODULATE, GL_DECAL, GL_BLEND, etc.
GLfloat EnvColor [4]
struct gl_texgen GenS
struct gl_texgen GenT
struct gl_texgen GenR
struct gl_texgen GenQ
GLbitfield TexGenEnabled
 Bitwise-OR of [STRQ]_BIT values.
GLbitfield _GenFlags
 Bitwise-OR of Gen[STRQ]._ModeBit.
GLfloat LodBias
 for biasing mipmap levels
GLenum BumpTarget
GLfloat RotMatrix [4]
GL_EXT_texture_env_combine
struct gl_tex_env_combine_state Combine
struct gl_tex_env_combine_state _EnvMode
 Derived state based on EnvMode and the BaseFormat of the currently enabled texture.
struct gl_tex_env_combine_state_CurrentCombine
 Currently enabled combiner state.
struct gl_texture_objectCurrentTex [NUM_TEXTURE_TARGETS]
 Current texture object pointers.
struct gl_texture_object_Current
 Points to highest priority, complete and enabled texture object.
struct gl_color_table ColorTable
 GL_SGI_texture_color_table.
struct gl_color_table ProxyColorTable
GLboolean ColorTableEnabled


Field Documentation

GLbitfield gl_texture_unit::Enabled

bitmask of TEXTURE_*_BIT flags

GLbitfield gl_texture_unit::_ReallyEnabled

0 or exactly one of TEXTURE_*_BIT flags

GLenum gl_texture_unit::EnvMode

GL_MODULATE, GL_DECAL, GL_BLEND, etc.

GLfloat gl_texture_unit::EnvColor[4]

struct gl_texgen gl_texture_unit::GenS [read]

struct gl_texgen gl_texture_unit::GenT [read]

struct gl_texgen gl_texture_unit::GenR [read]

struct gl_texgen gl_texture_unit::GenQ [read]

GLbitfield gl_texture_unit::TexGenEnabled

Bitwise-OR of [STRQ]_BIT values.

GLbitfield gl_texture_unit::_GenFlags

Bitwise-OR of Gen[STRQ]._ModeBit.

GLfloat gl_texture_unit::LodBias

for biasing mipmap levels

GLenum gl_texture_unit::BumpTarget

GLfloat gl_texture_unit::RotMatrix[4]

struct gl_tex_env_combine_state gl_texture_unit::Combine [read]

struct gl_tex_env_combine_state gl_texture_unit::_EnvMode [read]

Derived state based on EnvMode and the BaseFormat of the currently enabled texture.

struct gl_tex_env_combine_state* gl_texture_unit::_CurrentCombine [read]

Currently enabled combiner state.

This will point to either Combine or _EnvMode.

struct gl_texture_object* gl_texture_unit::CurrentTex[NUM_TEXTURE_TARGETS] [read]

Current texture object pointers.

struct gl_texture_object* gl_texture_unit::_Current [read]

Points to highest priority, complete and enabled texture object.

struct gl_color_table gl_texture_unit::ColorTable [read]

GL_SGI_texture_color_table.

struct gl_color_table gl_texture_unit::ProxyColorTable [read]

GLboolean gl_texture_unit::ColorTableEnabled


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