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

#include <render.h>

+ Collaboration diagram for r_refdef_t:

Data Fields

int draw2dstage
 
qbool envmap
 
double farclip
 
float fog_alpha
 
float fog_blue
 
float fog_density
 
float fog_end
 
float fog_fadedepth
 
float fog_green
 
float fog_height
 
unsigned char * fog_height_table1d
 
unsigned char * fog_height_table2d
 
float fog_height_tablescale
 
int fog_height_tablesize
 
float fog_height_texcoordscale
 
char fog_height_texturename [64]
 
float fog_red
 
float fog_start
 
float fogcolor [3]
 
qbool fogenabled
 
float fogheightfade
 
char fogheighttexturename [64]
 
float fogmasktable [FOGMASKTABLEWIDTH]
 
float fogmasktable_alpha
 
float fogmasktable_density
 
float fogmasktable_range
 
float fogmasktable_start
 
float fogmasktabledistmultiplier
 
float fogplane [4]
 
qbool fogplaneviewabove
 
float fogplaneviewdist
 
float fogrange
 
float fograngerecip
 
float frustumscale_x
 
float frustumscale_y
 
double lastdrawscreentime
 
double nearclip
 
qbool oldgl_fogenable
 
float polygonfactor
 
float polygonoffset
 
r_refdef_scene_t scene
 
int stats [r_stat_count]
 
r_refdef_view_t view
 
float viewblend [4]
 
r_refdef_viewcache_t viewcache
 

Detailed Description

Definition at line 395 of file render.h.

Field Documentation

◆ draw2dstage

int r_refdef_t::draw2dstage

Definition at line 452 of file render.h.

Referenced by DrawQ_Finish(), DrawQ_RecalcView(), DrawQ_Start(), Mod_Mesh_Finalize(), and R_Mesh_Draw().

◆ envmap

qbool r_refdef_t::envmap

Definition at line 455 of file render.h.

Referenced by R_Envmap_f(), R_MotionBlurView(), and R_View_UpdateEntityVisible().

◆ farclip

double r_refdef_t::farclip

◆ fog_alpha

◆ fog_blue

float r_refdef_t::fog_blue

◆ fog_density

float r_refdef_t::fog_density

◆ fog_end

float r_refdef_t::fog_end

◆ fog_fadedepth

float r_refdef_t::fog_fadedepth

◆ fog_green

float r_refdef_t::fog_green

◆ fog_height

float r_refdef_t::fog_height

◆ fog_height_table1d

unsigned char* r_refdef_t::fog_height_table1d

Definition at line 445 of file render.h.

Referenced by R_BuildFogHeightTexture().

◆ fog_height_table2d

unsigned char* r_refdef_t::fog_height_table2d

Definition at line 446 of file render.h.

Referenced by R_BuildFogHeightTexture().

◆ fog_height_tablescale

float r_refdef_t::fog_height_tablescale

Definition at line 448 of file render.h.

Referenced by R_UpdateFog().

◆ fog_height_tablesize

int r_refdef_t::fog_height_tablesize

Definition at line 447 of file render.h.

Referenced by R_BuildFogHeightTexture(), and R_UpdateFog().

◆ fog_height_texcoordscale

float r_refdef_t::fog_height_texcoordscale

Definition at line 449 of file render.h.

Referenced by R_UpdateFog().

◆ fog_height_texturename

char r_refdef_t::fog_height_texturename[64]

◆ fog_red

float r_refdef_t::fog_red

◆ fog_start

◆ fogcolor

◆ fogenabled

◆ fogheightfade

float r_refdef_t::fogheightfade

◆ fogheighttexturename

char r_refdef_t::fogheighttexturename[64]

Definition at line 450 of file render.h.

Referenced by R_BuildFogHeightTexture(), and R_UpdateFog().

◆ fogmasktable

float r_refdef_t::fogmasktable[FOGMASKTABLEWIDTH]

Definition at line 429 of file render.h.

Referenced by R_BuildFogTexture(), RSurf_FogPoint(), and RSurf_FogVertex().

◆ fogmasktable_alpha

float r_refdef_t::fogmasktable_alpha

Definition at line 430 of file render.h.

Referenced by R_BuildFogTexture(), and R_UpdateFog().

◆ fogmasktable_density

float r_refdef_t::fogmasktable_density

Definition at line 430 of file render.h.

Referenced by gl_main_start(), R_BuildFogTexture(), and R_UpdateFog().

◆ fogmasktable_range

float r_refdef_t::fogmasktable_range

Definition at line 430 of file render.h.

Referenced by R_BuildFogTexture(), and R_UpdateFog().

◆ fogmasktable_start

float r_refdef_t::fogmasktable_start

Definition at line 430 of file render.h.

Referenced by R_BuildFogTexture(), and R_UpdateFog().

◆ fogmasktabledistmultiplier

float r_refdef_t::fogmasktabledistmultiplier

Definition at line 427 of file render.h.

Referenced by R_UpdateFog(), and RSurf_FogPoint().

◆ fogplane

float r_refdef_t::fogplane[4]

◆ fogplaneviewabove

qbool r_refdef_t::fogplaneviewabove

Definition at line 422 of file render.h.

Referenced by R_SetupShader_Surface(), R_UpdateFog(), RSurf_FogPoint(), and RSurf_FogVertex().

◆ fogplaneviewdist

float r_refdef_t::fogplaneviewdist

Definition at line 421 of file render.h.

Referenced by R_UpdateFog(), RSurf_ActiveModelEntity(), and RSurf_FogPoint().

◆ fogrange

float r_refdef_t::fogrange

Definition at line 425 of file render.h.

Referenced by R_BuildFogTexture(), and R_UpdateFog().

◆ fograngerecip

float r_refdef_t::fograngerecip

Definition at line 426 of file render.h.

Referenced by R_UpdateFog(), RSurf_ActiveCustomEntity(), and RSurf_ActiveModelEntity().

◆ frustumscale_x

float r_refdef_t::frustumscale_x

Definition at line 403 of file render.h.

Referenced by SCR_DrawScreen(), V_CalcViewBlend(), and V_MakeViewIsometric().

◆ frustumscale_y

float r_refdef_t::frustumscale_y

Definition at line 403 of file render.h.

Referenced by SCR_DrawScreen(), V_CalcViewBlend(), and V_MakeViewIsometric().

◆ lastdrawscreentime

double r_refdef_t::lastdrawscreentime

Definition at line 462 of file render.h.

Referenced by CL_UpdateScreen(), and R_Bloom_StartFrame().

◆ nearclip

double r_refdef_t::nearclip

◆ oldgl_fogenable

qbool r_refdef_t::oldgl_fogenable

Definition at line 441 of file render.h.

Referenced by R_UpdateFog().

◆ polygonfactor

◆ polygonoffset

◆ scene

r_refdef_scene_t r_refdef_t::scene

Definition at line 418 of file render.h.

Referenced by CL_Beam_AddPolygons(), CL_ClearTempEntities(), CL_ExpandCSQCRenderEntities(), CL_Init(), CL_LinkNetworkEntity(), CL_MeshEntities_Scene_AddRenderEntity(), CL_NewParticlesFromEffectinfo(), CL_NewTempEntity(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkLightFlashes(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_UpdateEntityShading(), CL_UpdateEntityShading_Entity(), CL_UpdateWorld(), CL_VM_UpdateView(), CSQC_AddRenderEdict(), Mod_BSP_LightPoint_RecursiveBSPNode(), MP_Draw(), R_AnimCache_CacheVisibleEntities(), R_AnimCache_ClearCache(), R_BuildLightMap(), R_CanSeeBox(), R_CompleteLightPoint(), R_DecalSystem_ApplySplatEntities(), R_DrawBBoxMesh(), R_DrawBrushModelsSky(), R_DrawDebugModel(), R_DrawModelDecals(), R_DrawModelDecals_Entity(), R_DrawModelDecals_FadeEntity(), R_DrawModels(), R_DrawModelsAddWaterPlanes(), R_DrawModelsDebug(), R_DrawModelsDepth(), R_DrawModelSurfaces(), R_DrawParticle_TransparentCallback(), R_DrawParticles(), R_DrawPortals(), R_DrawTextureSurfaceList_Sky(), R_GetScenePointer(), R_HDR_UpdateIrisAdaptation(), R_ListWorldTextures_f(), R_Main_ResizeViewCache(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_Mod_GetLightInfo(), R_RenderScene(), R_RenderView(), R_RenderWaterPlanes(), R_ReplaceWorldTexture_f(), R_RTLight_Compile(), R_SelectScene(), R_SetupShader_Surface(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_CheckEnable(), R_Shadow_BounceGrid_UpdateSpacing(), R_Shadow_DrawCoronas(), R_Shadow_DrawLightShadowMaps(), R_Shadow_DrawPrepass(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), R_Shadow_PrepareModelShadows(), R_Shadow_UpdateBounceGridTexture(), R_SkySphere(), R_SkyStartFrame(), R_SortEntities(), R_Stain(), R_TimeReport_EndFrame(), R_UpdateVariables(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), R_View_WorldVisibility_CullSurfaces(), R_Water_AddWaterPlane(), R_Water_ProcessPlanes(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), RSurf_DrawBatch(), RSurf_PrepareVerticesForBatch(), VM_CL_getlight(), VM_CL_R_AddDynamicLight(), and VM_CL_R_ClearScene().

◆ stats

◆ view

r_refdef_view_t r_refdef_t::view

Definition at line 406 of file render.h.

Referenced by CL_Beam_AddPolygons(), CL_Beam_CalculatePositions(), CL_Frame(), CL_GetEntityMatrix(), CL_GetTagMatrix(), CL_Locs_RemoveNearest_f(), CL_TimeRefresh_f(), CL_UpdatePrydonCursor(), CL_UpdateScreen(), CL_UpdateWorld(), CL_VM_UpdateView(), CSQC_R_RecalcView(), DrawQ_FlushUI(), DrawQ_SetClipArea(), MP_Draw(), R_BeginCoronaQuery(), R_BlendView(), R_Bloom_StartFrame(), R_CalcBeam_Vertex3f(), R_CanSeeBox(), R_CullFrustum(), R_DebugLine(), R_DrawCorona(), R_DrawDebugModel(), R_DrawExplosion_TransparentCallback(), R_DrawLoc_Callback(), R_DrawModelDecals_Entity(), R_DrawModelTextureSurfaceList(), R_DrawNoModel_TransparentCallback(), R_DrawParticle_TransparentCallback(), R_DrawParticles(), R_DrawPortal_Callback(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_Envmap_f(), R_GetCurrentTexture(), R_HDR_UpdateIrisAdaptation(), R_MeshQueue_AddTransparent(), R_MeshQueue_BeginScene(), R_Mod_DrawDepth(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Model_Sprite_Draw_TransparentCallback(), R_MotionBlurView(), R_ProcessTransparentTextureSurfaceList(), R_RenderScene(), R_RenderView(), R_RenderView_UpdateViewVectors(), R_ResetViewRendering2D_Common(), R_ResetViewRendering3D(), R_ScissorForBBox(), R_SetupShader_DeferredLight(), R_SetupShader_Surface(), R_SetupView(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_UpdateSpacing(), R_Shadow_ClearShadowMapTexture(), R_Shadow_ComputeShadowCasterCullingPlanes(), R_Shadow_CullFrustumSides(), R_Shadow_DrawCoronas(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLight(), R_Shadow_DrawLightSprite_TransparentCallback(), R_Shadow_DrawModelShadowMaps(), R_Shadow_PrepareLight(), R_Shadow_PrepareModelShadows(), R_Shadow_RenderMode_Begin(), R_Shadow_RenderMode_DrawDeferredLight(), R_Shadow_RenderMode_End(), R_Shadow_RenderMode_Lighting(), R_Shadow_RenderMode_Reset(), R_Shadow_RenderMode_ShadowMap(), R_Shadow_RenderMode_VisibleLighting(), R_Shadow_ScissorForBBox(), R_Shadow_SelectLightInView(), R_Shadow_SetCursorLocationForView(), R_Sky(), R_TimeReport_EndFrame(), R_TrackSprite(), R_UpdateFog(), R_View_SetFrustum(), R_View_Update(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), R_View_WorldVisibility_CullSurfaces(), R_Water_AddWaterPlane(), R_Water_ProcessPlanes(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), RSurf_FogPoint(), RSurf_PrepareVerticesForBatch(), RSurf_SetupDepthAndCulling(), Sbar_ShowFPS(), SCR_DrawScreen(), V_CalcIntermissionRefdef(), V_CalcRefdef(), V_CalcRefdefUsing(), V_CalcViewBlend(), V_MakeViewIsometric(), VM_CL_project(), VM_CL_R_ClearScene(), VM_CL_R_RenderScene(), VM_CL_R_SetView(), and VM_CL_unproject().

◆ viewblend

float r_refdef_t::viewblend[4]

Definition at line 416 of file render.h.

Referenced by R_BlendView(), R_BlendView_IsTrivial(), and V_CalcViewBlend().

◆ viewcache


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