vkQuake2 doxygen  1.0 dev
vklightmapstate_t Struct Reference

Public Attributes

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 41 of file vk_rsurf.c.

Member Data Documentation

◆ allocated

int vklightmapstate_t::allocated[BLOCK_WIDTH]

Definition at line 47 of file vk_rsurf.c.

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

◆ current_lightmap_texture

int vklightmapstate_t::current_lightmap_texture

Definition at line 43 of file vk_rsurf.c.

Referenced by LM_UploadBlock(), Vk_BeginBuildingLightmaps(), and Vk_CreateSurfaceLightmap().

◆ lightmap_buffer

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

Definition at line 51 of file vk_rsurf.c.

Referenced by LM_UploadBlock(), and Vk_CreateSurfaceLightmap().

◆ lightmap_surfaces

msurface_t* vklightmapstate_t::lightmap_surfaces[MAX_LIGHTMAPS]