UFO: Alien Invasion
|
#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 |
byte * | sample_buffer |
byte * | direction_buffer |
Definition at line 42 of file r_lightmap.h.
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 |
Definition at line 47 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_DisposeLightmaps(), and R_UploadLightmapPage().
GLuint lightmaps_s::deluxemap_texnums[MAX_GL_DELUXEMAPS] |
Definition at line 44 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_CreateSurfaceLightmap(), R_DisposeLightmaps(), and R_UploadLightmapPage().
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 |
Definition at line 49 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_BeginBuildingLightmaps(), and R_UploadLightmapPage().
int lightmaps_s::lightmap_count |
Definition at line 46 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_DisposeLightmaps(), and R_UploadLightmapPage().
GLuint lightmaps_s::lightmap_texnums[MAX_GL_LIGHTMAPS] |
Definition at line 43 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_CreateSurfaceLightmap(), R_DisposeLightmaps(), and R_UploadLightmapPage().
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 |
lightmap atlas page (NxN)
Definition at line 51 of file r_lightmap.h.
Referenced by R_AllocLightmapBlock(), R_BeginBuildingLightmaps(), R_CreateSurfaceLightmap(), R_LoadBspVertexArrays(), and R_UploadLightmapPage().