UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gltexunit_s Struct Reference

texunits maintain multitexture state More...

#include <r_state.h>

Data Fields

bool enabled
 
GLenum texture
 
GLint texnum
 
GLenum texenv
 
GLfloat * texcoord_array
 
int array_size
 

Detailed Description

texunits maintain multitexture state

Definition at line 48 of file r_state.h.

Field Documentation

int gltexunit_s::array_size

Definition at line 55 of file r_state.h.

Referenced by R_ReallocateTexunitArray().

bool gltexunit_s::enabled

GL_TEXTURE_2D on / off

Definition at line 49 of file r_state.h.

Referenced by R_EnableTexture(), and R_SetDefaultState().

GLfloat* gltexunit_s::texcoord_array

Definition at line 53 of file r_state.h.

Referenced by R_BindDefaultArray(), and R_ReallocateTexunitArray().

GLenum gltexunit_s::texenv

e.g. GL_MODULATE

Definition at line 52 of file r_state.h.

Referenced by R_TexEnv().

GLint gltexunit_s::texnum

e.g 123

Definition at line 51 of file r_state.h.

Referenced by R_BindTexture_(), and R_BindTextureForTexUnit().

GLenum gltexunit_s::texture

e.g. GL_TEXTURE0

Definition at line 50 of file r_state.h.

Referenced by R_SelectTexture(), and R_SetDefaultState().


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