Quake II RTX doxygen  1.0 dev
lightmap_builder_t Struct Reference

#include <gl.h>

Public Attributes

int inuse [LM_BLOCK_WIDTH]
 
byte buffer [LM_BLOCK_WIDTH *LM_BLOCK_HEIGHT *4]
 
qboolean dirty
 
int comp
 
float add
 
float modulate
 
float scale
 
int nummaps
 
GLuint texnums [LM_MAX_LIGHTMAPS]
 

Detailed Description

Definition at line 258 of file gl.h.

Member Data Documentation

◆ add

float lightmap_builder_t::add

Definition at line 263 of file gl.h.

Referenced by adjust_color_f(), and gl_lightmap_changed().

◆ buffer

byte lightmap_builder_t::buffer[LM_BLOCK_WIDTH *LM_BLOCK_HEIGHT *4]

Definition at line 260 of file gl.h.

Referenced by build_primary_lightmap(), LM_RebuildSurfaces(), and LM_UploadBlock().

◆ comp

int lightmap_builder_t::comp

Definition at line 262 of file gl.h.

Referenced by gl_lightmap_changed(), LM_RebuildSurfaces(), and LM_UploadBlock().

◆ dirty

qboolean lightmap_builder_t::dirty

◆ inuse

int lightmap_builder_t::inuse[LM_BLOCK_WIDTH]

Definition at line 259 of file gl.h.

Referenced by LM_InitBlock().

◆ modulate

float lightmap_builder_t::modulate

Definition at line 263 of file gl.h.

Referenced by adjust_color_ub(), and gl_lightmap_changed().

◆ nummaps

int lightmap_builder_t::nummaps

◆ scale

float lightmap_builder_t::scale

Definition at line 263 of file gl.h.

Referenced by adjust_color_f(), and gl_lightmap_changed().

◆ texnums

GLuint lightmap_builder_t::texnums[LM_MAX_LIGHTMAPS]