gltexunit_s Struct Reference

texunits maintain multitexture state More...

#include <r_state.h>

Data Fields

qboolean enabled
GLenum texture
GLint texnum
GLenum texenv
GLfloat texcoord_array [MAX_GL_ARRAY_LENGTH *2]

Detailed Description

texunits maintain multitexture state

Definition at line 39 of file r_state.h.


Field Documentation

GL_TEXTURE_2D on / off

Definition at line 40 of file r_state.h.

Referenced by R_EnableTexture().

GLfloat gltexunit_s::texcoord_array[MAX_GL_ARRAY_LENGTH *2]

Definition at line 44 of file r_state.h.

Referenced by R_BindDefaultArray().

e.g. GL_MODULATE

Definition at line 43 of file r_state.h.

Referenced by R_TexEnv().

e.g 123

Definition at line 42 of file r_state.h.

Referenced by R_BindTexture_(), and R_BindTextureForTexUnit().

e.g. GL_TEXTURE0_ARB

Definition at line 41 of file r_state.h.

Referenced by R_SelectTexture(), and R_SetDefaultState().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2