icculus quake2 doxygen  1.0 dev
surfcache_s Struct Reference

#include <r_local.h>

Public Attributes

struct surfcache_snext
 
struct surfcache_s ** owner
 
int lightadj [MAXLIGHTMAPS]
 
int dlight
 
int size
 
unsigned width
 
unsigned height
 
float mipscale
 
image_timage
 
byte data [4]
 

Detailed Description

Definition at line 360 of file r_local.h.

Member Data Documentation

◆ data

byte surfcache_s::data[4]

Definition at line 371 of file r_local.h.

Referenced by D_CacheSurface(), D_SolidSurf(), and R_BuildPolygonFromSurface().

◆ dlight

int surfcache_s::dlight

Definition at line 365 of file r_local.h.

Referenced by D_CacheSurface().

◆ height

unsigned surfcache_s::height

Definition at line 368 of file r_local.h.

Referenced by R_BuildPolygonFromSurface().

◆ image

image_t* surfcache_s::image

Definition at line 370 of file r_local.h.

Referenced by D_CacheSurface().

◆ lightadj

int surfcache_s::lightadj[MAXLIGHTMAPS]

Definition at line 364 of file r_local.h.

Referenced by D_CacheSurface().

◆ mipscale

float surfcache_s::mipscale

Definition at line 369 of file r_local.h.

Referenced by D_CacheSurface().

◆ next

struct surfcache_s* surfcache_s::next

Definition at line 362 of file r_local.h.

Referenced by D_FlushCaches(), D_SCAlloc(), D_SCDump(), and R_InitCaches().

◆ owner

struct surfcache_s** surfcache_s::owner

Definition at line 363 of file r_local.h.

Referenced by D_CacheSurface(), D_FlushCaches(), D_SCAlloc(), and R_InitCaches().

◆ size

int surfcache_s::size

Definition at line 366 of file r_local.h.

Referenced by D_FlushCaches(), D_SCAlloc(), D_SCDump(), and R_InitCaches().

◆ width

unsigned surfcache_s::width

Definition at line 367 of file r_local.h.

Referenced by D_SCAlloc(), D_SCDump(), D_SolidSurf(), and R_BuildPolygonFromSurface().