icculus quake2 doxygen  1.0 dev
glstate_t Struct Reference

#include <gl_local.h>

Public Attributes

float inverse_intensity
 
qboolean fullscreen
 
int prev_mode
 
unsigned char * d_16to8table
 
int lightmap_textures
 
int currenttextures [2]
 
int currenttmu
 
float camera_separation
 
qboolean stereo_enabled
 
qboolean hwgamma
 
unsigned char originalRedGammaTable [256]
 
unsigned char originalGreenGammaTable [256]
 
unsigned char originalBlueGammaTable [256]
 

Detailed Description

Definition at line 415 of file gl_local.h.

Member Data Documentation

◆ camera_separation

float glstate_t::camera_separation

Definition at line 429 of file gl_local.h.

Referenced by MYgluPerspective(), and R_BeginFrame().

◆ currenttextures

int glstate_t::currenttextures[2]

Definition at line 426 of file gl_local.h.

Referenced by GL_Bind(), GL_MBind(), R_DrawBrushModel(), and R_DrawWorld().

◆ currenttmu

int glstate_t::currenttmu

Definition at line 427 of file gl_local.h.

Referenced by GL_Bind(), GL_SelectTexture(), and GL_TexEnv().

◆ d_16to8table

unsigned char* glstate_t::d_16to8table

Definition at line 422 of file gl_local.h.

Referenced by GL_BuildPalettedTexture(), and GL_InitImages().

◆ fullscreen

qboolean glstate_t::fullscreen

Definition at line 418 of file gl_local.h.

Referenced by GLimp_SetMode(), and GLimp_Shutdown().

◆ hwgamma

qboolean glstate_t::hwgamma

Definition at line 432 of file gl_local.h.

Referenced by GL_InitImages(), and R_BeginFrame().

◆ inverse_intensity

float glstate_t::inverse_intensity

Definition at line 417 of file gl_local.h.

Referenced by GL_InitImages(), R_DrawAlphaSurfaces(), and R_RenderBrushPoly().

◆ lightmap_textures

int glstate_t::lightmap_textures

◆ originalBlueGammaTable

unsigned char glstate_t::originalBlueGammaTable[256]

Definition at line 436 of file gl_local.h.

◆ originalGreenGammaTable

unsigned char glstate_t::originalGreenGammaTable[256]

Definition at line 435 of file gl_local.h.

◆ originalRedGammaTable

unsigned char glstate_t::originalRedGammaTable[256]

Definition at line 434 of file gl_local.h.

◆ prev_mode

int glstate_t::prev_mode

Definition at line 420 of file gl_local.h.

Referenced by R_Init(), and R_SetMode().

◆ stereo_enabled

qboolean glstate_t::stereo_enabled

Definition at line 430 of file gl_local.h.

Referenced by GL_UpdateSwapInterval(), GLimp_BeginFrame(), GLimp_InitGL(), and R_BeginFrame().