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

#include <r_lightmap.h>

Data Fields

GLuint lightmap_texnums [MAX_GL_LIGHTMAPS]
 
GLuint deluxemap_texnums [MAX_GL_DELUXEMAPS]
 
int lightmap_count
 
int deluxemap_count
 
bool incomplete_atlas
 
int size
 
unsigned * allocated
 
bytesample_buffer
 
bytedirection_buffer
 

Detailed Description

Definition at line 42 of file r_lightmap.h.

Field Documentation

unsigned* lightmaps_s::allocated

current atlas page heightmap

Definition at line 53 of file r_lightmap.h.

Referenced by R_AllocLightmapBlock(), R_BeginBuildingLightmaps(), R_EndBuildingLightmaps(), and R_UploadLightmapPage().

int lightmaps_s::deluxemap_count
GLuint lightmaps_s::deluxemap_texnums[MAX_GL_DELUXEMAPS]
byte* lightmaps_s::direction_buffer

XYZ direction buffer for assembling the atlas page

Definition at line 56 of file r_lightmap.h.

Referenced by R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_EndBuildingLightmaps(), and R_UploadLightmapPage().

bool lightmaps_s::incomplete_atlas
int lightmaps_s::lightmap_count
GLuint lightmaps_s::lightmap_texnums[MAX_GL_LIGHTMAPS]
byte* lightmaps_s::sample_buffer

RGB color buffer for assembling the atlas page

Definition at line 55 of file r_lightmap.h.

Referenced by R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_EndBuildingLightmaps(), and R_UploadLightmapPage().

int lightmaps_s::size

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