icculus quake2 doxygen  1.0 dev
gllightmapstate_t Struct Reference

Public Attributes

int internal_format
 
int current_lightmap_texture
 
msurface_tlightmap_surfaces [MAX_LIGHTMAPS]
 
int allocated [BLOCK_WIDTH]
 
byte lightmap_buffer [4 *BLOCK_WIDTH *BLOCK_HEIGHT]
 

Detailed Description

Definition at line 44 of file gl_rsurf.c.

Member Data Documentation

◆ allocated

int gllightmapstate_t::allocated[BLOCK_WIDTH]

Definition at line 51 of file gl_rsurf.c.

Referenced by GL_BeginBuildingLightmaps(), LM_AllocBlock(), LM_InitBlock(), and LM_UploadBlock().

◆ current_lightmap_texture

int gllightmapstate_t::current_lightmap_texture

Definition at line 47 of file gl_rsurf.c.

Referenced by GL_BeginBuildingLightmaps(), GL_CreateSurfaceLightmap(), and LM_UploadBlock().

◆ internal_format

int gllightmapstate_t::internal_format

Definition at line 46 of file gl_rsurf.c.

Referenced by GL_BeginBuildingLightmaps(), and LM_UploadBlock().

◆ lightmap_buffer

byte gllightmapstate_t::lightmap_buffer[4 *BLOCK_WIDTH *BLOCK_HEIGHT]

Definition at line 55 of file gl_rsurf.c.

Referenced by GL_CreateSurfaceLightmap(), LM_UploadBlock(), and R_BlendLightmaps().

◆ lightmap_surfaces

msurface_t* gllightmapstate_t::lightmap_surfaces[MAX_LIGHTMAPS]