![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <render.h>
Data Fields | |
float | ambientintensity |
entity_render_t ** | entities |
renderable entities (excluding world) | |
qbool | expandtempentities |
float | lightmapintensity |
rtlight_t * | lights [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_t * | tempentities |
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_t * | worldentity |
the world | |
model_t * | worldmodel |
same as worldentity->model | |
float r_refdef_scene_t::ambientintensity |
Definition at line 384 of file render.h.
Referenced by CL_UpdateEntityShading_Entity(), MVM_init_cmd(), R_DrawParticle_TransparentCallback(), R_HDR_UpdateIrisAdaptation(), R_UpdateVariables(), and VM_CL_getlight().
entity_render_t** r_refdef_scene_t::entities |
renderable entities (excluding world)
Definition at line 361 of file render.h.
Referenced by CL_ExpandCSQCRenderEntities(), CL_Init(), CL_LinkNetworkEntity(), CL_MeshEntities_Scene_AddRenderEntity(), CL_NewTempEntity(), CL_RelinkStaticEntities(), CL_UpdateEntityShading(), CSQC_AddRenderEdict(), MVM_init_cmd(), R_AnimCache_CacheVisibleEntities(), R_AnimCache_ClearCache(), R_DecalSystem_ApplySplatEntities(), R_DrawBrushModelsSky(), R_DrawModelDecals(), R_DrawModels(), R_DrawModelsAddWaterPlanes(), R_DrawModelsDebug(), R_DrawModelsDepth(), R_RenderView(), R_Shadow_DrawPrepass(), R_Shadow_PrepareLight(), R_Shadow_PrepareModelShadows(), R_SortEntities(), and R_View_UpdateEntityVisible().
qbool r_refdef_scene_t::expandtempentities |
Definition at line 369 of file render.h.
Referenced by CL_ClearTempEntities(), and CL_NewTempEntity().
float r_refdef_scene_t::lightmapintensity |
Definition at line 387 of file render.h.
Referenced by CL_UpdateEntityShading_Entity(), R_DrawModelSurfaces(), R_DrawParticle_TransparentCallback(), R_HDR_UpdateIrisAdaptation(), R_Shadow_PrepareModelShadows(), R_UpdateVariables(), and VM_CL_getlight().
rtlight_t* r_refdef_scene_t::lights[MAX_DLIGHTS] |
Definition at line 372 of file render.h.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkLightFlashes(), R_CompleteLightPoint(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_DrawCoronas(), R_Shadow_PrepareLights(), and VM_CL_R_AddDynamicLight().
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().
int r_refdef_scene_t::maxentities |
Definition at line 363 of file render.h.
Referenced by CL_Init(), CL_LinkNetworkEntity(), CL_NewTempEntity(), CL_RelinkStaticEntities(), CSQC_AddRenderEdict(), and MVM_init_cmd().
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().
int r_refdef_scene_t::numentities |
Definition at line 362 of file render.h.
Referenced by CL_ExpandCSQCRenderEntities(), CL_LinkNetworkEntity(), CL_MeshEntities_Scene_AddRenderEntity(), CL_NewTempEntity(), CL_RelinkStaticEntities(), CL_UpdateEntityShading(), CL_UpdateWorld(), CL_VM_UpdateView(), CSQC_AddRenderEdict(), R_AnimCache_CacheVisibleEntities(), R_AnimCache_ClearCache(), R_DecalSystem_ApplySplatEntities(), R_DrawBrushModelsSky(), R_DrawModelDecals(), R_DrawModels(), R_DrawModelsAddWaterPlanes(), R_DrawModelsDebug(), R_DrawModelsDepth(), R_Main_ResizeViewCache(), R_RenderView(), R_Shadow_DrawPrepass(), R_Shadow_PrepareLight(), R_Shadow_PrepareModelShadows(), R_SortEntities(), R_View_UpdateEntityVisible(), and VM_CL_R_ClearScene().
int r_refdef_scene_t::numlights |
Definition at line 374 of file render.h.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkLightFlashes(), CL_UpdateWorld(), CL_VM_UpdateView(), R_CompleteLightPoint(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_DrawCoronas(), R_Shadow_PrepareLights(), VM_CL_R_AddDynamicLight(), and VM_CL_R_ClearScene().
int r_refdef_scene_t::numtempentities |
Definition at line 367 of file render.h.
Referenced by CL_ClearTempEntities(), CL_NewTempEntity(), and MP_Draw().
qbool r_refdef_scene_t::rtdlight |
Definition at line 391 of file render.h.
Referenced by R_Shadow_PrepareLights(), and R_UpdateVariables().
qbool r_refdef_scene_t::rtdlightshadows |
Definition at line 392 of file render.h.
Referenced by R_Shadow_PrepareLight(), and R_UpdateVariables().
float r_refdef_scene_t::rtlightstylevalue[MAX_LIGHTSTYLES] |
float fraction of base light value
Definition at line 377 of file render.h.
Referenced by CL_RelinkLightFlashes(), Mod_BSP_LightPoint_RecursiveBSPNode(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_PrepareLight(), and R_UpdateVariables().
qbool r_refdef_scene_t::rtworld |
Definition at line 389 of file render.h.
Referenced by R_CompleteLightPoint(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_DrawCoronas(), R_Shadow_PrepareLights(), R_Shadow_UpdateBounceGridTexture(), and R_UpdateVariables().
qbool r_refdef_scene_t::rtworldshadows |
Definition at line 390 of file render.h.
Referenced by R_Shadow_PrepareLight(), and R_UpdateVariables().
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().
rtlight_t r_refdef_scene_t::templights[MAX_DLIGHTS] |
Definition at line 373 of file render.h.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), and VM_CL_R_AddDynamicLight().
double r_refdef_scene_t::time |
(client gameworld) time for rendering time based effects
Definition at line 352 of file render.h.
Referenced by CL_Beam_AddPolygons(), CL_UpdateWorld(), MP_Draw(), R_DrawModelDecals_Entity(), R_DrawModelDecals_FadeEntity(), R_DrawParticle_TransparentCallback(), R_RenderScene(), R_SkySphere(), RSurf_ActiveCustomEntity(), and RSurf_ActiveModelEntity().
entity_render_t* r_refdef_scene_t::worldentity |
the world
Definition at line 355 of file render.h.
Referenced by CL_RelinkWorld(), CL_UpdateEntityShading(), R_DecalSystem_ApplySplatEntities(), R_DrawBBoxMesh(), R_DrawDebugModel(), R_DrawModelDecals(), R_DrawModelDecals_Entity(), R_DrawModelSurfaces(), R_DrawParticle_TransparentCallback(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_Mod_GetLightInfo(), R_RenderScene(), R_RenderWaterPlanes(), R_RTLight_Compile(), R_Shadow_DrawCoronas(), R_Shadow_DrawPrepass(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), R_Shadow_PrepareLight(), RSurf_ActiveCustomEntity(), and RSurf_DrawBatch().
model_t* r_refdef_scene_t::worldmodel |
same as worldentity->model
Definition at line 358 of file render.h.
Referenced by CL_RelinkWorld(), CL_UpdateEntityShading_Entity(), R_CanSeeBox(), R_CompleteLightPoint(), R_DrawParticles(), R_DrawPortals(), R_DrawTextureSurfaceList_Sky(), R_ListWorldTextures_f(), R_Main_ResizeViewCache(), R_RenderScene(), R_RenderWaterPlanes(), R_ReplaceWorldTexture_f(), R_RTLight_Compile(), R_SetupShader_Surface(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_CheckEnable(), R_Shadow_BounceGrid_UpdateSpacing(), R_Shadow_DrawLightShadowMaps(), R_Shadow_DrawPrepass(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), R_SkySphere(), R_SkyStartFrame(), R_Stain(), R_TimeReport_EndFrame(), R_UpdateVariables(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), R_View_WorldVisibility_CullSurfaces(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().