UFO: Alien Invasion
rendererData_t Struct Reference

#include <cl_renderer.h>

Collaboration diagram for rendererData_t:
Collaboration graph

Data Fields

bool ready
 
float fieldOfViewX
 
float fieldOfViewY
 
vec3_t viewOrigin
 
vec3_t viewAngles
 
float time
 
int rendererFlags
 
int worldlevel
 
int brushCount
 
int aliasCount
 
int batchCount
 
int FFPToShaderCount
 
int shaderToShaderCount
 
int shaderToFFPCount
 
int weather
 
vec4_t fogColor
 
vec4_t ambientColor
 
vec4_t modelAmbientColor
 
vec4_t sunDiffuseColor
 
vec4_t sunSpecularColor
 
vec4_t sunVector
 
int numEntities
 
int numDynamicLights
 
light_t dynamicLights [MAX_GL_LIGHTS]
 
light_t staticLights [MAX_STATIC_LIGHTS]
 
int numStaticLights
 
int numCoronas
 
corona_t coronas [MAX_CORONAS]
 
trace_t trace
 
struct entity_s * traceEntity
 
mapTiles_tmapTiles
 

Detailed Description

Definition at line 168 of file cl_renderer.h.

Field Documentation

◆ aliasCount

int rendererData_t::aliasCount

◆ ambientColor

vec4_t rendererData_t::ambientColor

◆ batchCount

◆ brushCount

int rendererData_t::brushCount

Definition at line 177 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_DrawSurfaces(), and SCR_UpdateScreen().

◆ coronas

corona_t rendererData_t::coronas[MAX_CORONAS]

Definition at line 198 of file cl_renderer.h.

Referenced by R_AddCorona(), and R_DrawCoronas().

◆ dynamicLights

light_t rendererData_t::dynamicLights[MAX_GL_LIGHTS]

Definition at line 191 of file cl_renderer.h.

Referenced by R_AddLight(), R_EnableWorldLights(), R_RenderFrame(), and R_UpdateLightList().

◆ FFPToShaderCount

int rendererData_t::FFPToShaderCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

◆ fieldOfViewX

float rendererData_t::fieldOfViewX

◆ fieldOfViewY

float rendererData_t::fieldOfViewY

Definition at line 171 of file cl_renderer.h.

Referenced by CL_ViewCalcFieldOfViewY(), and R_SetupFrustum().

◆ fogColor

◆ mapTiles

mapTiles_t* rendererData_t::mapTiles

Definition at line 203 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_Trace(), and SEQ_Render3D().

◆ modelAmbientColor

vec4_t rendererData_t::modelAmbientColor

clamped to avoid black models

Definition at line 183 of file cl_renderer.h.

Referenced by R_EnableModelLights(), R_InitModelProgram(), R_UseModelProgram(), and SP_worldspawn().

◆ numCoronas

int rendererData_t::numCoronas

Definition at line 197 of file cl_renderer.h.

Referenced by R_AddCorona(), R_ClearScene(), and R_DrawCoronas().

◆ numDynamicLights

int rendererData_t::numDynamicLights

◆ numEntities

◆ numStaticLights

int rendererData_t::numStaticLights

◆ ready

bool rendererData_t::ready

false if on new level or vid restart - if this is true the map can be rendered

Definition at line 169 of file cl_renderer.h.

Referenced by CL_ParseConfigString(), CL_ParseServerData(), CL_ViewLoadMedia(), CL_ViewRender(), R_RunThread(), SCR_UpdateScreen(), and VID_Restart_f().

◆ rendererFlags

◆ shaderToFFPCount

int rendererData_t::shaderToFFPCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

◆ shaderToShaderCount

int rendererData_t::shaderToShaderCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

◆ staticLights

light_t rendererData_t::staticLights[MAX_STATIC_LIGHTS]

Definition at line 194 of file cl_renderer.h.

Referenced by R_AddStaticLight(), R_RenderFrame(), and R_UpdateLightList().

◆ sunDiffuseColor

vec4_t rendererData_t::sunDiffuseColor

◆ sunSpecularColor

vec4_t rendererData_t::sunSpecularColor

Definition at line 185 of file cl_renderer.h.

Referenced by SP_worldspawn().

◆ sunVector

vec4_t rendererData_t::sunVector

pointing towards the sun, should be x y z 0 to match the OpengGL logic

Definition at line 186 of file cl_renderer.h.

Referenced by R_EnableModelLights(), R_InitModelProgram(), R_UpdateLightList(), R_UseModelProgram(), and SP_worldspawn().

◆ time

◆ trace

trace_t rendererData_t::trace

occlusion testing

Definition at line 200 of file cl_renderer.h.

Referenced by R_DrawFlareSurfaces(), R_Trace(), R_UpdateLightList(), and R_UpdateShadowOrigin().

◆ traceEntity

struct entity_s* rendererData_t::traceEntity

Definition at line 201 of file cl_renderer.h.

Referenced by R_Trace().

◆ viewAngles

vec3_t rendererData_t::viewAngles

◆ viewOrigin

◆ weather

int rendererData_t::weather

weather effects

Definition at line 180 of file cl_renderer.h.

Referenced by R_EnableFog(), and SP_worldspawn().

◆ worldlevel

int rendererData_t::worldlevel

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