UFO: Alien Invasion
|
local graphics definitions More...
#include "../../common/common.h"
#include "../../common/qfiles.h"
#include "../cl_renderer.h"
#include "../cl_video.h"
#include "r_gl.h"
#include "r_state.h"
#include "r_array.h"
#include "r_material.h"
#include "r_image.h"
#include "r_model.h"
#include "r_thread.h"
#include "r_framebuffer.h"
#include "r_lightmap.h"
#include "r_corona.h"
#include "r_flare.h"
Go to the source code of this file.
Data Structures | |
struct | rlocals_s |
struct | rconfig_t |
GL config stuff. More... | |
Macros | |
#define | MIN_GL_CONSTANT_ATTENUATION 0.01 |
Typedefs | |
typedef struct rlocals_s | rlocals_t |
Enumerations | |
enum | hardwareType_t { GLHW_GENERIC, GLHW_MESA, GLHW_INTEL, GLHW_ATI, GLHW_NVIDIA } |
Functions | |
void | R_DrawSurfaces (const mBspSurfaces_t *surfs, glElementIndex_t *indexPtr) |
General surface drawing function, that draw the surface chains. More... | |
void | R_DrawMaterialSurfaces (const mBspSurfaces_t *surfs, glElementIndex_t *indexPtr) |
Iterates the specified surfaces list, updating materials as they are encountered, and rendering all visible stages. State is lazily managed throughout the iteration, so there is a concerted effort to restore the state after all surface stages have been rendered. More... | |
void | R_SetSurfaceBumpMappingParameters (const mBspSurface_t *surf, const image_t *normalMap, const image_t *specularMap) |
bool | R_CullMeshModel (const entity_t *e) |
Checks whether a model is visible in the current scene. More... | |
void | R_DrawModelParticle (modelInfo_t *mi) |
Renders a particle model for the battlescape. More... | |
void | R_DrawBspNormals (int tile) |
Developer tool for viewing BSP vertex normals. Only Phong interpolated surfaces show their normals when r_shownormals > 1. More... | |
bool | R_CullBspModel (const entity_t *e) |
Returns true if the specified entity is completely culled by the view frustum, false otherwise. More... | |
bool | R_CullSphere (const vec3_t centre, const float radius, const unsigned int clipflags) |
Performs a spherical frustum check. More... | |
void | R_GetLevelSurfaceLists (void) |
Fills the surface chains for the current worldlevel and hide other levels. More... | |
void | R_GetEntityLists (void) |
Primary entry point for drawing all entities. More... | |
void | R_DrawInitLocal (void) |
Loads some textures and init the 3d globe. More... | |
void | R_DrawParticles (void) |
void | R_SetupFrustum (void) |
void | R_ClearBspRRefs (void) |
void | R_AddBspRRef (const mBspModel_t *model, const vec3_t origin, const vec3_t angles, const bool forceVisibility) |
Adds bsp render references. More... | |
void | R_RenderOpaqueBspRRefs (void) |
Draw all simple opaque bsp surfaces with multitexture enabled and light enabled. More... | |
void | R_RenderOpaqueWarpBspRRefs (void) |
Draw all warped opaque bsp surfaces via warp shader. More... | |
void | R_RenderAlphaTestBspRRefs (void) |
void | R_RenderMaterialBspRRefs (void) |
void | R_RenderFlareBspRRefs (void) |
void | R_RenderBlendBspRRefs (void) |
Draw all translucent bsp surfaces with multitexture enabled and blend enabled. More... | |
void | R_RenderBlendWarpBspRRefs (void) |
Draw all warped translucent bsp surfaces via warp shader and with blend enabled. More... | |
bool | Rimp_Init (void) |
void | Rimp_Shutdown (void) |
bool | R_InitGraphics (const viddefContext_t *context) |
Init the SDL window. More... | |
local graphics definitions
Definition in file r_local.h.
#define MIN_GL_CONSTANT_ATTENUATION 0.01 |
Definition at line 45 of file r_local.h.
Referenced by R_DisableLights(), R_DisableSpotLight(), and R_SetupSpotLight().
enum hardwareType_t |
void R_AddBspRRef | ( | const mBspModel_t * | model, |
const vec3_t | origin, | ||
const vec3_t | angles, | ||
const bool | forceVisibility | ||
) |
Adds bsp render references.
[in] | model | The bsp model to add to the render chain |
[in] | origin | |
[in] | angles | |
[in] | forceVisibility | force model to be fully visible |
Definition at line 324 of file r_bsp.cpp.
References bspRenderRef_s::angles, bspRenderRef_s::bsp, Com_Printf(), mBspModel_s::firstmodelsurface, mBspSurface_s::frame, rlocals_s::frame, i, MAX_BSPS_TO_RENDER, numBspRRefs, mBspModel_s::nummodelsurfaces, bspRenderRef_s::origin, r_locals, mBspModel_s::surfaces, and VectorCopy.
Referenced by R_GetEntityLists(), and R_RenderFrame().
bool R_CullBspModel | ( | const entity_t * | e | ) |
Returns true if the specified entity is completely culled by the view frustum, false otherwise.
[in] | e | The entity to check |
Definition at line 108 of file r_bsp.cpp.
References AABB::expand(), AABB::getMaxs(), AABB::getMins(), entity_t::origin, PSIDE_BACK, R_CullBox(), and AABB::shift().
Referenced by R_CullEntity().
bool R_CullMeshModel | ( | const entity_t * | e | ) |
Checks whether a model is visible in the current scene.
[in] | e | The entity to check |
false
if visible, true
if the entity is outside the current view Definition at line 446 of file r_mesh.cpp.
References AngleVectors(), cBspPlane_s::dist, DotProduct, f, rlocals_s::frustum, i, lengthof, cBspPlane_s::normal, entity_t::origin, r_locals, VectorAdd, VectorCopy, and YAW.
Referenced by R_CullEntity().
Performs a spherical frustum check.
[in] | centre | The world coordinate that is the center of the sphere |
[in] | radius | The radius of the sphere to check the frustum for |
[in] | clipflags | Can be used to skip sides of the frustum planes |
true
if the sphere is completely outside the frustum, false
otherwise Definition at line 83 of file r_bsp.cpp.
References cBspPlane_s::dist, DotProduct, rlocals_s::frustum, i, cvar_s::integer, lengthof, cBspPlane_s::normal, r_locals, and r_nocull.
Developer tool for viewing BSP vertex normals. Only Phong interpolated surfaces show their normals when r_shownormals > 1.
Definition at line 134 of file r_bsp.cpp.
References rstate_s::array_size, rendererData_t::batchCount, model_s::bsp, mBspTexInfo_s::flags, mBspSurface_s::frame, rlocals_s::frame, i, mBspSurface_s::index, cvar_s::integer, mBspModel_s::normals, mBspSurface_s::numedges, mBspModel_s::numsurfaces, R_Color(), R_EnableTexture(), r_locals, r_mapTiles, R_ReallocateStateArrays(), R_ResetArrayState(), r_shownormals, r_state, refdef, SURF_PHONG, SURF_WARP, mBspModel_s::surfaces, mBspSurface_s::texinfo, texunit_diffuse, VectorMA(), rstate_s::vertex_array_3d, and mBspModel_s::verts.
Referenced by R_RenderFrame().
Loads some textures and init the 3d globe.
Definition at line 83 of file r_draw.cpp.
References Com_Error(), Com_Printf(), ERR_FATAL, it_chars, it_effect, R_FindImage(), and r_noTexture.
Referenced by R_Init().
void R_DrawMaterialSurfaces | ( | const mBspSurfaces_t * | surfs, |
glElementIndex_t * | indexPtr | ||
) |
Iterates the specified surfaces list, updating materials as they are encountered, and rendering all visible stages. State is lazily managed throughout the iteration, so there is a concerted effort to restore the state after all surface stages have been rendered.
Definition at line 399 of file r_material.cpp.
References rstate_s::blend_enabled, mBspSurfaces_s::count, f, mBspSurface_s::frame, rlocals_s::frame, i, mBspTexInfo_s::image, cvar_s::integer, m, image_s::material, materialStage_s::next, R_BlendFunc(), R_Color(), R_DrawSurfaceStage(), R_EnableBumpmap(), R_EnableColorArray(), R_EnableFog(), R_EnableGlowMap(), R_EnableLighting(), R_EnableModelLights(), R_EnableTexture(), r_locals, r_materials, R_ResetArrayState(), R_SetSurfaceStageState(), r_state, R_UpdateMaterial(), r_wire, STAGE_RENDER, material_s::stages, mBspSurfaces_s::surfaces, mBspSurface_s::texinfo, and texunit_lightmap.
Referenced by R_RenderMaterialBspRRefs().
void R_DrawModelParticle | ( | modelInfo_t * | mi | ) |
Renders a particle model for the battlescape.
[in,out] | mi | The model information that is used to render the particle model. |
Definition at line 397 of file r_mesh.cpp.
References model_s::alias, rendererData_t::aliasCount, modelInfo_t::angles, modelInfo_t::backlerp, modelInfo_t::color, Com_Printf(), mAliasFrame_s::fBox, modelInfo_t::frame, mAliasModel_s::frames, cvar_s::integer, model_s::loaded, modelInfo_t::mesh, mAliasModel_s::meshes, modelInfo_t::model, modelInfo_t::name, mAliasModel_s::num_frames, mAliasMesh_s::num_tris, modelInfo_t::oldframe, modelInfo_t::origin, PITCH, R_AliasModelState(), R_BindTexture, R_Color(), R_DrawAliasFrameLerp(), R_DrawAliasStaticWithReset(), R_DrawBoundingBox(), r_showbox, refdef, ROLL, modelInfo_t::skin, image_s::texnum, vec4_origin, and YAW.
Referenced by R_DrawParticleModel().
Definition at line 266 of file r_particle.cpp.
References ptl_s::blend, i, cvar_s::integer, ptl_s::inuse, ptl_s::invis, ptl_s::levelFlags, ptl_s::model, ptl_s::pic, ptl_s::program, R_BlendFunc(), R_Color(), R_DrawParticleModel(), R_DrawPtlCircle(), R_DrawPtlLine(), R_DrawSprite(), r_numParticles, R_SetBlendMode(), R_TexEnv(), R_UseProgram(), refdef, ptl_s::style, STYLE_CIRCLE, STYLE_LINE, and rendererData_t::worldlevel.
Referenced by R_RenderFrame().
void R_DrawSurfaces | ( | const mBspSurfaces_t * | surfs, |
glElementIndex_t * | indexPtr | ||
) |
General surface drawing function, that draw the surface chains.
Definition at line 98 of file r_surface.cpp.
References rstate_s::active_normalmap, rendererData_t::batchCount, rendererData_t::brushCount, mBspSurfaces_s::count, mBspSurface_s::deluxemap_texnum, mBspSurface_s::firstTriangle, mBspTexInfo_s::flags, mBspSurface_s::frame, rlocals_s::frame, GL_ELEMENT_INDEX_TYPE, mBspTexInfo_s::image, mBspSurface_s::lightmap_texnum, mBspSurface_s::numTriangles, R_Color(), R_EnableBumpmap(), R_EnableGlowMap(), r_locals, R_SetSurfaceState(), r_state, refdef, SURF_BLEND33, SURF_BLEND66, mBspSurfaces_s::surfaces, and mBspSurface_s::texinfo.
Referenced by R_RenderAlphaTestBspRRefs(), R_RenderBlendBspRRefs(), R_RenderBlendWarpBspRRefs(), R_RenderOpaqueBspRRefs(), and R_RenderOpaqueWarpBspRRefs().
Primary entry point for drawing all entities.
Definition at line 625 of file r_entity.cpp.
References Com_Error(), ERR_DROP, image_s::has_alpha, i, cvar_s::integer, mod_alias_md2, mod_alias_md3, mod_bsp_submodel, mod_obj, rendererData_t::numEntities, entity_t::origin, R_AddBspRRef(), R_AliasModelState(), r_blend_mesh_entities, R_CalcTransform(), R_CullEntity(), r_drawentities, r_null_entities, r_opaque_mesh_entities, r_special_entities, refdef, RF_ARROW, RF_BOX, RF_PATH, RF_TRANSLUCENT, and image_s::texnum.
Referenced by R_RenderFrame().
Fills the surface chains for the current worldlevel and hide other levels.
Definition at line 281 of file r_bsp.cpp.
References model_s::bsp, mBspHeader_s::headnode, i, cvar_s::integer, LEVEL_LASTVISIBLE, mBspModel_s::nodes, mBspHeader_s::numfaces, r_drawworld, r_mapTiles, r_numMapTiles, R_RecurseWorld(), refdef, mBspModel_s::submodels, and rendererData_t::worldlevel.
Referenced by R_RenderFrame(), and R_RunThread().
bool R_InitGraphics | ( | const viddefContext_t * | context | ) |
Init the SDL window.
Definition at line 218 of file r_sdl.cpp.
References cls, Com_Printf(), viddefContext_t::fullscreen, GAME_TITLE_LONG, viddefContext_t::height, i, viddefContext_t::multisample, viddefContext_t::swapinterval, and viddefContext_t::width.
Referenced by R_SetMode().
Definition at line 436 of file r_bsp.cpp.
References R_DrawSurfaces(), R_EnableAlphaTest(), R_EnableGlowMap(), R_EnableLighting(), R_EnableWorldLights(), R_RenderBspRRefs(), r_state, S_ALPHA_TEST, and rstate_s::world_program.
Referenced by R_RenderFrame().
Draw all translucent bsp surfaces with multitexture enabled and blend enabled.
Definition at line 462 of file r_bsp.cpp.
References rstate_s::blend_enabled, R_DrawSurfaces(), R_EnableTexture(), R_RenderBspRRefs(), r_state, S_BLEND, and texunit_lightmap.
Referenced by R_RenderFrame().
Draw all warped translucent bsp surfaces via warp shader and with blend enabled.
Definition at line 475 of file r_bsp.cpp.
References rstate_s::blend_enabled, R_DrawSurfaces(), R_EnableGlowMap(), R_EnableWarp(), R_RenderBspRRefs(), r_state, S_BLEND_WARP, and rstate_s::warp_program.
Referenced by R_RenderFrame().
Definition at line 454 of file r_bsp.cpp.
References R_DrawFlareSurfaces(), R_RenderBspRRefs(), and S_FLARE.
Referenced by R_RenderFrame().
Definition at line 449 of file r_bsp.cpp.
References R_DrawMaterialSurfaces(), R_RenderBspRRefs(), and S_MATERIAL.
Referenced by R_RenderFrame().
Draw all simple opaque bsp surfaces with multitexture enabled and light enabled.
Definition at line 410 of file r_bsp.cpp.
References R_DrawSurfaces(), R_EnableGlowMap(), R_EnableLighting(), R_EnableTexture(), R_EnableWorldLights(), R_RenderBspRRefs(), r_state, S_OPAQUE, texunit_lightmap, and rstate_s::world_program.
Referenced by R_RenderFrame().
Draw all warped opaque bsp surfaces via warp shader.
Definition at line 426 of file r_bsp.cpp.
References R_DrawSurfaces(), R_EnableGlowMap(), R_EnableWarp(), R_RenderBspRRefs(), r_state, S_OPAQUE_WARP, and rstate_s::warp_program.
Referenced by R_RenderFrame().
void R_SetSurfaceBumpMappingParameters | ( | const mBspSurface_t * | surf, |
const image_t * | normalMap, | ||
const image_t * | specularMap | ||
) |
Definition at line 32 of file r_surface.cpp.
References mBspSurface_s::deluxemap_texnum, mBspSurface_s::flags, mBspTexInfo_s::image, rstate_s::lighting_enabled, image_s::material, MSURF_LIGHTMAP, R_BindDeluxemapTexture(), r_bumpmap, R_EnableBumpmap(), R_EnableSpecularMap(), r_state, R_UseMaterial(), mBspSurface_s::texinfo, and cvar_s::value.
Referenced by R_SetSurfaceState(), and R_StageLighting().
Definition at line 137 of file r_main.cpp.
References AngleVectors(), cBspPlane_s::dist, DotProduct, rendererData_t::fieldOfViewX, rendererData_t::fieldOfViewY, rlocals_s::forward, rlocals_s::frustum, i, cvar_s::integer, cBspPlane_s::normal, PLANE_ANYZ, R_CheckError, RDF_NOWORLDMODEL, rendererData_t::rendererFlags, rlocals_s::right, RotatePointAroundVector(), cBspPlane_s::type, rlocals_s::up, VectorScale, viddef, rendererData_t::viewAngles, viddef_t::viewHeight, rendererData_t::viewOrigin, viddef_t::viewWidth, viddef_t::x, and viddef_t::y.
Referenced by R_RenderFrame(), and R_RunThread().
bool Rimp_Init | ( | void | ) |
Definition at line 72 of file r_sdl.cpp.
References Com_Error(), Com_Printf(), r_sdl_config_s::desktopHeight, r_sdl_config_s::desktopWidth, ERR_FATAL, GAME_TITLE, GAME_TITLE_LONG, i, MAX_VAR, Mem_AllocTypeN, r_sdl_config_s::modes, name, r_sdl_config_s::numModes, OBJZERO, Q_strcat(), r_config, r_driver, R_SetMode(), R_SetSDLIcon(), cvar_s::string, Sys_Setenv(), and rconfig_t::videoMemory.
Referenced by R_Init().
cvar_t* r_anisotropic |
Definition at line 64 of file r_main.cpp.
cvar_t* r_bumpmap |
Definition at line 103 of file r_main.cpp.
Referenced by R_ArraysMask(), R_EnableBumpmap(), R_SetSurfaceBumpMappingParameters(), and R_UseMaterial().
cvar_t* r_checkerror |
Definition at line 84 of file r_main.cpp.
Referenced by R_CheckErrorDebug().
rconfig_t r_config |
Definition at line 47 of file r_main.cpp.
Referenced by R_BindColorAttachments(), R_CreateFramebuffer(), R_Draw3DGlobe(), R_DrawBloom(), R_EnableRenderbuffer(), R_FontGenerateTexture(), R_GetScaledTextureSize(), R_InitFBObjects(), R_InitializeShader(), R_SelectTexture(), R_SetDefaultState(), R_TextureAlphaMode(), R_TextureMode(), R_TextureSolidMode(), R_UploadAlpha(), R_UploadData(), R_UploadLightmapPage(), R_UploadTexture(), R_UseFramebuffer(), R_UseViewport(), and Rimp_Init().
cvar_t* r_coronas |
Definition at line 109 of file r_main.cpp.
Referenced by R_AddCorona(), and R_DrawCoronas().
cvar_t* r_debug_lights |
Definition at line 71 of file r_main.cpp.
Referenced by R_DrawAliasModel().
cvar_t* r_debug_normals |
Definition at line 69 of file r_main.cpp.
cvar_t* r_debug_tangents |
Definition at line 70 of file r_main.cpp.
cvar_t* r_default_hardness |
Definition at line 83 of file r_main.cpp.
Referenced by R_UpdateDefaultMaterial().
cvar_t* r_default_specular |
Definition at line 82 of file r_main.cpp.
Referenced by R_UpdateDefaultMaterial().
cvar_t* r_drawbuffer |
Definition at line 85 of file r_main.cpp.
cvar_t* r_drawentities |
Definition at line 60 of file r_main.cpp.
Referenced by R_GetEntityLists().
cvar_t* r_drawtags |
Definition at line 110 of file r_main.cpp.
Referenced by R_DrawAliasModelBuffer().
cvar_t* r_drawworld |
Definition at line 61 of file r_main.cpp.
Referenced by R_GetLevelSurfaceLists().
cvar_t* r_driver |
Definition at line 86 of file r_main.cpp.
Referenced by Rimp_Init().
cvar_t* r_dynamic_lights |
Definition at line 96 of file r_main.cpp.
Referenced by R_AddLightToEntity(), R_DisableSpotLight(), R_DrawAliasModel(), R_EnableModelLights(), R_EnableWorldLights(), R_SetupSpotLight(), and R_UpdateLightList().
cvar_t* r_ext_texture_compression |
Definition at line 73 of file r_main.cpp.
cvar_t* r_flares |
Definition at line 108 of file r_main.cpp.
Referenced by R_DrawFlareSurfaces().
cvar_t* r_fog |
Definition at line 107 of file r_main.cpp.
Referenced by R_EnableFog(), R_InitModelProgram(), R_InitWarpProgram(), R_InitWorldProgram(), R_UseModelProgram(), R_UseWarpProgram(), and R_UseWorldProgram().
cvar_t* r_glsl_version |
The GLSL version being used (not necessarily a supported version by the OpenGL implementation). Stored as a c-string and integer.
Definition at line 99 of file r_main.cpp.
Referenced by R_InitializeShader().
cvar_t* r_hardness |
Definition at line 105 of file r_main.cpp.
Referenced by R_UseMaterial().
cvar_t* r_isometric |
Definition at line 63 of file r_main.cpp.
Referenced by MYgluPerspective().
cvar_t* r_lightmap |
Definition at line 68 of file r_main.cpp.
Referenced by R_EnableTexture().
rlocals_t r_locals |
Definition at line 49 of file r_main.cpp.
Referenced by R_AddBspRRef(), R_CullBox(), R_CullMeshModel(), R_CullSphere(), R_DrawBspNormals(), R_DrawCoronas(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_DrawSurfaces(), R_EnableModelLights(), R_EnableWorldLights(), R_GetSpriteVectors(), R_InitModelProgram(), R_RecursiveVisibleWorldNode(), R_RecursiveWorldNode(), R_Setup3D(), R_Trace(), R_UpdateLightList(), R_UpdateShadowOrigin(), and R_UseModelProgram().
cvar_t* r_materials |
Definition at line 80 of file r_main.cpp.
Referenced by R_DrawMaterialSurfaces(), R_LoadMaterials(), and R_StageLighting().
cvar_t* r_maxlightmap |
Definition at line 101 of file r_main.cpp.
Referenced by R_BeginBuildingLightmaps().
cvar_t* r_multisample |
Definition at line 90 of file r_main.cpp.
Referenced by R_CreateFramebuffer(), and R_EnableMultisample().
cvar_t* r_nocull |
Definition at line 62 of file r_main.cpp.
Referenced by R_CullBox(), R_CullEntity(), and R_CullSphere().
cvar_t* r_overridematerial |
Definition at line 81 of file r_main.cpp.
Referenced by R_LoadMaterials().
cvar_t* r_parallax |
Definition at line 106 of file r_main.cpp.
Referenced by R_UseMaterial().
cvar_t* r_particles |
Definition at line 32 of file r_particle.cpp.
Referenced by R_RegisterSystemVars().
cvar_t* r_postprocess |
Definition at line 100 of file r_main.cpp.
Referenced by R_BindColorAttachments(), R_Draw3DGlobe(), R_DrawBloom(), R_EnableBlur(), R_EnableRenderbuffer(), R_UseFramebuffer(), and R_UseViewport().
cvar_t* r_programs |
Definition at line 97 of file r_main.cpp.
Referenced by R_BindColorAttachments(), R_DisableSpotLight(), R_Draw3DGlobe(), R_DrawBloom(), R_EnableAnimation(), R_EnableBlur(), R_EnableDrawAsGlow(), R_EnableFog(), R_EnableGlowMap(), R_EnableLighting(), R_EnableModelLights(), R_EnableRenderbuffer(), R_EnableSpecularMap(), R_EnableWarp(), R_EnableWorldLights(), R_InitFBObjects(), R_InitModelProgram(), R_InitPrograms(), R_InitWorldProgram(), R_LoadProgram(), R_RestartPrograms_f(), R_SetupSpotLight(), R_ShutdownPrograms(), R_SphereCheckGLSL(), R_UseFramebuffer(), R_UseMaterial(), R_UseViewport(), R_UseWorldProgram(), and SCR_UpdateScreen().
cvar_t* r_screenshot_format |
Definition at line 66 of file r_main.cpp.
Referenced by R_ScreenShot().
cvar_t* r_screenshot_jpeg_quality |
Definition at line 67 of file r_main.cpp.
Referenced by R_ScreenShot().
cvar_t* r_shadows |
Definition at line 87 of file r_main.cpp.
Referenced by R_DrawMeshShadow().
cvar_t* r_showbox |
Definition at line 92 of file r_main.cpp.
Referenced by R_DrawAliasModel(), R_DrawModelDirect(), R_DrawModelParticle(), and R_RenderBspRRefs().
cvar_t* r_shownormals |
Definition at line 102 of file r_main.cpp.
Referenced by R_DrawBspNormals().
cvar_t* r_specular |
Definition at line 104 of file r_main.cpp.
Referenced by R_UseMaterial().
cvar_t* r_stencilshadows |
Definition at line 88 of file r_main.cpp.
Referenced by R_DrawEntityEffects(), and R_DrawMeshShadow().
cvar_t* r_swapinterval |
Definition at line 89 of file r_main.cpp.
cvar_t* r_texture_lod |
Definition at line 65 of file r_main.cpp.
Referenced by R_UploadTexture().
cvar_t* r_threads |
Definition at line 93 of file r_main.cpp.
Referenced by R_RunThread(), and R_ShutdownThreads().
cvar_t* r_vertexbuffers |
Definition at line 94 of file r_main.cpp.
Referenced by R_BindBuffer(), R_RenderBspRRefs(), R_ResetArrayState(), and R_SetArrayState().
cvar_t* r_warp |
Definition at line 95 of file r_main.cpp.
Referenced by R_EnableWarp().
cvar_t* r_wire |
Definition at line 91 of file r_main.cpp.
Referenced by R_DrawMaterialSurfaces(), and R_DrawMeshShadow().