UFO: Alien Invasion
Loading...
Searching...
No Matches
gltexunit_t Struct Reference

texunits maintain multitexture state More...

#include <r_state.h>

Collaboration diagram for gltexunit_t:
Collaboration graph

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

◆ array_size

int gltexunit_t::array_size

Definition at line 55 of file r_state.h.

Referenced by R_ReallocateTexunitArray().

◆ enabled

bool gltexunit_t::enabled

GL_TEXTURE_2D on / off

Definition at line 49 of file r_state.h.

Referenced by R_EnableTexture(), and R_SetDefaultState().

◆ texcoord_array

GLfloat* gltexunit_t::texcoord_array

Definition at line 53 of file r_state.h.

Referenced by R_ReallocateTexunitArray().

◆ texenv

GLenum gltexunit_t::texenv

e.g. GL_MODULATE

Definition at line 52 of file r_state.h.

◆ texnum

GLint gltexunit_t::texnum

e.g 123

Definition at line 51 of file r_state.h.

Referenced by R_BindTextureForTexUnit().

◆ texture

GLenum gltexunit_t::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: