DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
r_refdef_scene_t Struct Reference

#include <render.h>

+ Collaboration diagram for r_refdef_scene_t:

Data Fields

float ambientintensity
 
entity_render_t ** entities
 renderable entities (excluding world)
 
qbool expandtempentities
 
float lightmapintensity
 
rtlight_tlights [MAX_DLIGHTS]
 
unsigned short lightstylevalue [MAX_LIGHTSTYLES]
 8.8 fraction of base light value
 
int maxentities
 
int maxtempentities
 
int numentities
 
int numlights
 
int numtempentities
 
qbool rtdlight
 
qbool rtdlightshadows
 
float rtlightstylevalue [MAX_LIGHTSTYLES]
 float fraction of base light value
 
qbool rtworld
 
qbool rtworldshadows
 
entity_render_ttempentities
 field of temporary entities that is reset each (client) frame
 
rtlight_t templights [MAX_DLIGHTS]
 
double time
 (client gameworld) time for rendering time based effects
 
entity_render_tworldentity
 the world
 
model_tworldmodel
 same as worldentity->model
 

Detailed Description

Definition at line 350 of file render.h.

Field Documentation

◆ ambientintensity

◆ entities

◆ expandtempentities

qbool r_refdef_scene_t::expandtempentities

Definition at line 369 of file render.h.

Referenced by CL_ClearTempEntities(), and CL_NewTempEntity().

◆ lightmapintensity

◆ lights

◆ lightstylevalue

unsigned short r_refdef_scene_t::lightstylevalue[MAX_LIGHTSTYLES]

8.8 fraction of base light value

Definition at line 380 of file render.h.

Referenced by CL_RelinkLightFlashes(), R_BuildLightMap(), R_DrawModelSurfaces(), R_Shadow_PrepareLights(), and RSurf_PrepareVerticesForBatch().

◆ maxentities

int r_refdef_scene_t::maxentities

◆ maxtempentities

int r_refdef_scene_t::maxtempentities

Definition at line 368 of file render.h.

Referenced by CL_ClearTempEntities(), CL_Init(), CL_NewTempEntity(), and MVM_init_cmd().

◆ numentities

◆ numlights

◆ numtempentities

int r_refdef_scene_t::numtempentities

Definition at line 367 of file render.h.

Referenced by CL_ClearTempEntities(), CL_NewTempEntity(), and MP_Draw().

◆ rtdlight

qbool r_refdef_scene_t::rtdlight

Definition at line 391 of file render.h.

Referenced by R_Shadow_PrepareLights(), and R_UpdateVariables().

◆ rtdlightshadows

qbool r_refdef_scene_t::rtdlightshadows

Definition at line 392 of file render.h.

Referenced by R_Shadow_PrepareLight(), and R_UpdateVariables().

◆ rtlightstylevalue

float r_refdef_scene_t::rtlightstylevalue[MAX_LIGHTSTYLES]

◆ rtworld

◆ rtworldshadows

qbool r_refdef_scene_t::rtworldshadows

Definition at line 390 of file render.h.

Referenced by R_Shadow_PrepareLight(), and R_UpdateVariables().

◆ tempentities

entity_render_t* r_refdef_scene_t::tempentities

field of temporary entities that is reset each (client) frame

Definition at line 366 of file render.h.

Referenced by CL_ClearTempEntities(), CL_Init(), CL_NewTempEntity(), and MVM_init_cmd().

◆ templights

◆ time

double r_refdef_scene_t::time

◆ worldentity

◆ worldmodel


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