UFO: Alien Invasion
Loading...
Searching...
No Matches
lightmaps_t Struct Reference

#include <r_lightmap.h>

Collaboration diagram for lightmaps_t:
Collaboration graph

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

◆ allocated

unsigned* lightmaps_t::allocated

current atlas page heightmap

Definition at line 53 of file r_lightmap.h.

◆ deluxemap_count

int lightmaps_t::deluxemap_count

Definition at line 47 of file r_lightmap.h.

◆ deluxemap_texnums

GLuint lightmaps_t::deluxemap_texnums[MAX_GL_DELUXEMAPS]

Definition at line 44 of file r_lightmap.h.

◆ direction_buffer

byte* lightmaps_t::direction_buffer

XYZ direction buffer for assembling the atlas page

Definition at line 56 of file r_lightmap.h.

◆ incomplete_atlas

bool lightmaps_t::incomplete_atlas

Definition at line 49 of file r_lightmap.h.

◆ lightmap_count

int lightmaps_t::lightmap_count

Definition at line 46 of file r_lightmap.h.

◆ lightmap_texnums

GLuint lightmaps_t::lightmap_texnums[MAX_GL_LIGHTMAPS]

Definition at line 43 of file r_lightmap.h.

◆ sample_buffer

byte* lightmaps_t::sample_buffer

RGB color buffer for assembling the atlas page

Definition at line 55 of file r_lightmap.h.

◆ size

int lightmaps_t::size

lightmap atlas page (NxN)

Definition at line 51 of file r_lightmap.h.


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