FTEQW
Documentation of the FTE engine source tree.
render.h File Reference

Go to the source code of this file.

Classes

struct  entity_s
 
struct  skinfile_t
 
struct  mplane_s
 
struct  fogstate_t
 
struct  rtname_t
 
struct  refdef_s
 
struct  glRect_s
 
struct  lightmapinfo_t
 
struct  lmalloc_t
 
struct  plugimageloaderfuncs_t
 
struct  builddata_s
 

Typedefs

typedef unsigned short index_t
 
typedef unsigned int skinid_t
 
typedef struct entity_s entity_t
 
typedef struct mplane_s mplane_t
 
typedef struct refdef_s refdef_t
 
typedef struct glRect_s glRect_t
 
typedef unsigned char stmap
 

Enumerations

enum  refEntityType_t {
  RT_MODEL , RT_POLY , RT_SPRITE , RT_BEAM ,
  RT_RAIL_CORE , RT_RAIL_RINGS , RT_LIGHTNING , RT_PORTALSURFACE ,
  RT_PORTALCAMERA , RT_MAX_REF_ENTITY_TYPE
}
 
enum  stereomethod_t {
  STEREO_OFF , STEREO_QUAD , STEREO_RED_CYAN , STEREO_RED_BLUE ,
  STEREO_RED_GREEN , STEREO_CROSSEYED , STEREO_LEFTONLY , STEREO_RIGHTONLY
}
 
enum  qprojection_t {
  PROJ_STANDARD = 0 , PROJ_STEREOGRAPHIC = 1 , PROJ_FISHEYE = 2 , PROJ_PANORAMA = 3 ,
  PROJ_LAEA = 4 , PROJ_EQUIRECTANGULAR = 5
}
 
enum  imageflags {
  IF_CLAMP = 1<<0 , IF_NOMIPMAP = 1<<1 , IF_NEAREST = 1<<2 , IF_LINEAR = 1<<3 ,
  IF_UIPIC = 1<<4 , IF_SRGB = 1<<6 , IF_NOPICMIP = 1<<7 , IF_NOALPHA = 1<<8 ,
  IF_NOGAMMA = 1<<9 , IF_TEXTYPEMASK = (1<<10) | (1<<11) | (1<<12) , IF_MIPCAP = 1<<13 , IF_PREMULTIPLYALPHA = 1<<14 ,
  IF_UNUSED15 = 1<<15 , IF_UNUSED16 = 1<<16 , IF_INEXACT = 1<<17 , IF_WORLDTEX = 1<<18 ,
  IF_SPRITETEX = 1<<19 , IF_NOSRGB = 1<<20 , IF_PALETTIZE = 1<<21 , IF_NOPURGE = 1<<22 ,
  IF_HIGHPRIORITY = 1<<23 , IF_LOWPRIORITY = 1<<24 , IF_LOADNOW = 1<<25 , IF_NOPCX = 1<<26 ,
  IF_TRYBUMP = 1<<27 , IF_RENDERTARGET = 1<<28 , IF_EXACTEXTENSION = 1<<29 , IF_NOREPLACE = 1<<30 ,
  IF_NOWORKER = 1u<<31
}
 
enum  {
  RSPEED_TOTALREFRESH , RSPEED_CSQCPHYSICS , RSPEED_CSQCREDRAW , RSPEED_LINKENTITIES ,
  RSPEED_WORLDNODE , RSPEED_DYNAMIC , RSPEED_OPAQUE , RSPEED_RTLIGHTS ,
  RSPEED_TRANSPARENTS , RSPEED_PROTOCOL , RSPEED_PARTICLES , RSPEED_PARTICLESDRAW ,
  RSPEED_PALETTEFLASHES , RSPEED_2D , RSPEED_SERVER , RSPEED_AUDIO ,
  RSPEED_SETUP , RSPEED_SUBMIT , RSPEED_PRESENT , RSPEED_ACQUIRE ,
  RSPEED_MAX
}
 
enum  {
  RQUANT_MSECS , RQUANT_PRIMITIVEINDICIES , RQUANT_DRAWS , RQUANT_ENTBATCHES ,
  RQUANT_WORLDBATCHES , RQUANT_2DBATCHES , RQUANT_SHADOWINDICIES , RQUANT_SHADOWEDGES ,
  RQUANT_SHADOWSIDES , RQUANT_LITFACES , RQUANT_RTLIGHT_DRAWN , RQUANT_RTLIGHT_CULL_FRUSTUM ,
  RQUANT_RTLIGHT_CULL_PVS , RQUANT_RTLIGHT_CULL_SCISSOR , RQUANT_MAX
}
 

Functions

void CL_BlendFog (fogstate_t *result, fogstate_t *oldf, float time, fogstate_t *newf)
 
void CL_ResetFog (int fogtype)
 
void BE_GenModelBatches (struct batch_s **batches, const struct dlight_s *dl, unsigned int bemode, const qbyte *worldpvs, const int *worldareas)
 
void R_GAliasFlushSkinCache (qboolean final)
 
void R_GAlias_DrawBatch (struct batch_s *batch)
 
void R_GAlias_GenerateBatches (entity_t *e, struct batch_s **batches)
 
void R_LightArraysByte_BGR (const entity_t *entity, vecV_t *coords, byte_vec4_t *colours, int vertcount, vec3_t *normals, qboolean colormod)
 
void R_LightArrays (const entity_t *entity, vecV_t *coords, avec4_t *colours, int vertcount, vec3_t *normals, float scale, qboolean colormod)
 
qboolean R_DrawSkyChain (struct batch_s *batch)
 
void R_InitSky (shader_t *shader, const char *skyname, uploadfmt_t fmt, qbyte *src, unsigned int width, unsigned int height)
 
void R_Clutter_Emit (struct batch_s **batches)
 
void R_Clutter_Purge (void)
 
void Surf_NewMap (struct model_s *worldmodel)
 
void Surf_PreNewMap (void)
 
void Surf_SetupFrame (void)
 
void Surf_DrawWorld (void)
 
void Surf_GenBrushBatches (struct batch_s **batches, entity_t *ent)
 
void Surf_StainSurf (struct model_s *mod, struct msurface_s *surf, float *parms)
 
void Surf_AddStain (vec3_t org, float red, float green, float blue, float radius)
 
void Surf_LessenStains (void)
 
void Surf_WipeStains (void)
 
void Surf_DeInit (void)
 
void Surf_Clear (struct model_s *mod)
 
void Surf_BuildLightmaps (void)
 
void Surf_ClearSceneCache (void)
 
void Surf_BuildModelLightmaps (struct model_s *m)
 
void Surf_RenderDynamicLightmaps (struct msurface_s *fa)
 
void Surf_RenderAmbientLightmaps (struct msurface_s *fa, int ambient)
 
int Surf_LightmapShift (struct model_s *model)
 
void QDECL Surf_RebuildLightmap_Callback (struct cvar_s *var, char *oldvalue)
 
void R_Sky_Register (void)
 
void R_SkyShutdown (void)
 
void R_SetSky (const char *skyname)
 
texid_t R_GetDefaultEnvmap (void)
 
void GLR_Init (void)
 
void GLR_InitTextures (void)
 
void GLR_InitEfrags (void)
 
void GLR_RenderView (void)
 
void GLR_DrawPortal (struct batch_s *batch, struct batch_s **blist, struct batch_s *depthmasklist[2], int portaltype)
 
void GLR_PushDlights (void)
 
void GLR_DrawWaterSurfaces (void)
 
void GLVID_DeInit (void)
 
void GLR_DeInit (void)
 
void GLSCR_DeInit (void)
 
void GLVID_Console_Resize (void)
 
int R_LightPoint (vec3_t p)
 
void R_RenderDlights (void)
 
void Mod_LightmapAllocInit (lmalloc_t *lmallocator, qboolean hasdeluxe, unsigned int width, unsigned int height, int firstlm)
 
void Mod_LightmapAllocBlock (lmalloc_t *lmallocator, int w, int h, unsigned short *x, unsigned short *y, int *tnum)
 
image_tImage_TextureIsValid (qintptr_t address)
 
image_tImage_FindTexture (const char *identifier, const char *subpath, unsigned int flags)
 
image_tImage_CreateTexture (const char *identifier, const char *subpath, unsigned int flags)
 
image_t *QDECL Image_GetTexture (const char *identifier, const char *subpath, unsigned int flags, void *fallbackdata, void *fallbackpalette, int fallbackwidth, int fallbackheight, uploadfmt_t fallbackfmt)
 
qboolean Image_UnloadTexture (image_t *tex)
 
void Image_DestroyTexture (image_t *tex)
 
qboolean Image_LoadTextureFromMemory (texid_t tex, int flags, const char *iname, const char *fname, qbyte *filedata, int filesize)
 
qboolean Image_LocateHighResTexture (image_t *tex, flocation_t *bestloc, char *bestname, size_t bestnamesize, unsigned int *bestflags)
 
void Image_Upload (texid_t tex, uploadfmt_t fmt, void *data, void *palette, int width, int height, int depth, unsigned int flags)
 
void Image_Purge (void)
 
void Image_Init (void)
 
void Image_Shutdown (void)
 
void Image_PrintInputFormatVersions (void)
 
qboolean Image_WriteKTXFile (const char *filename, enum fs_relative fsroot, struct pendingtextureinfo *mips)
 
qboolean Image_WriteDDSFile (const char *filename, enum fs_relative fsroot, struct pendingtextureinfo *mips)
 
void Image_BlockSizeForEncoding (uploadfmt_t encoding, unsigned int *blockbytes, unsigned int *blockwidth, unsigned int *blockheight, unsigned int *blockdepth)
 
const char * Image_FormatName (uploadfmt_t encoding)
 
qboolean Image_FormatHasAlpha (uploadfmt_t encoding)
 
image_tImage_LoadTexture (const char *identifier, int width, int height, uploadfmt_t fmt, void *data, unsigned int flags)
 
struct pendingtextureinfoImage_LoadMipsFromMemory (int flags, const char *iname, const char *fname, qbyte *filedata, int filesize)
 
void Image_ChangeFormat (struct pendingtextureinfo *mips, qboolean *allowedformats, uploadfmt_t origfmt, const char *imagename)
 
void Image_Premultiply (struct pendingtextureinfo *mips)
 
voidImage_FlipImage (const void *inbuffer, void *outbuffer, int *inoutwidth, int *inoutheight, int pixelbytes, qboolean flipx, qboolean flipy, qboolean flipd)
 
qboolean Image_RegisterLoader (void *module, plugimageloaderfuncs_t *loader)
 
void D3D8_Set2D (void)
 
void D3D8_UpdateFiltering (image_t *imagelist, int filtermip[3], int filterpic[3], int mipcap[2], float anis)
 
qboolean D3D8_LoadTextureMips (texid_t tex, const struct pendingtextureinfo *mips)
 
void D3D8_DestroyTexture (texid_t tex)
 
void D3D9_Set2D (void)
 
void D3D9_UpdateFiltering (image_t *imagelist, int filtermip[3], int filterpic[3], int mipcap[2], float lodbias, float anis)
 
qboolean D3D9_LoadTextureMips (texid_t tex, const struct pendingtextureinfo *mips)
 
void D3D9_DestroyTexture (texid_t tex)
 
void D3D11_UpdateFiltering (image_t *imagelist, int filtermip[3], int filterpic[3], int mipcap[2], float lodbias, float anis)
 
qboolean D3D11_LoadTextureMips (texid_t tex, const struct pendingtextureinfo *mips)
 
void D3D11_DestroyTexture (texid_t tex)
 
texid_t R_LoadReplacementTexture (const char *name, const char *subpath, unsigned int flags, void *lowres, int lowreswidth, int lowresheight, uploadfmt_t fmt)
 
texid_tf R_LoadHiResTexture (const char *name, const char *subpath, unsigned int flags)
 
texid_tf R_LoadBumpmapTexture (const char *name, const char *subpath)
 
void R_LoadNumberedLightTexture (struct dlight_s *dl, int cubetexnum)
 
skinid_t Mod_RegisterSkinFile (const char *skinname)
 
skinid_t Mod_ReadSkinFile (const char *skinname, const char *skintext)
 
void Mod_WipeSkin (skinid_t id, qboolean force)
 
skinfile_tMod_LookupSkin (skinid_t id)
 
void Mod_Init (qboolean initial)
 
void Mod_Shutdown (qboolean final)
 
int Mod_TagNumForName (struct model_s *model, const char *name, int firsttag)
 
int Mod_SkinNumForName (struct model_s *model, int surfaceidx, const char *name)
 
int Mod_FrameNumForName (struct model_s *model, int surfaceidx, const char *name)
 
int Mod_FrameNumForAction (struct model_s *model, int surfaceidx, int actionid)
 
float Mod_GetFrameDuration (struct model_s *model, int surfaceidx, int frameno)
 
void Mod_ResortShaders (void)
 
void Mod_ClearAll (void)
 
struct model_sMod_FindName (const char *name)
 
voidMod_Extradata (struct model_s *mod)
 
void Mod_TouchModel (const char *name)
 
void Mod_RebuildLightmaps (void)
 
void Mod_NowLoadExternal (struct model_s *loadmodel)
 
void GLR_LoadSkys (void)
 
void R_BloomRegister (void)
 
int Mod_RegisterModelFormatText (void *module, const char *formatname, char *magictext, qboolean(QDECL *load)(struct model_s *mod, void *buffer, size_t fsize))
 
int Mod_RegisterModelFormatMagic (void *module, const char *formatname, qbyte *magic, size_t magicsize, qboolean(QDECL *load)(struct model_s *mod, void *buffer, size_t fsize))
 
void Mod_UnRegisterModelFormat (void *module, int idx)
 
void Mod_UnRegisterAllModelFormats (void *module)
 
void Mod_ModelLoaded (void *ctx, void *data, size_t a, size_t b)
 
void Mod_SubmodelLoaded (struct model_s *mod, int state)
 
void LightPlane (struct relight_ctx_s *ctx, struct llightinfo_s *threadctx, lightstyleindex_t surf_styles[MAXCPULIGHTMAPS], unsigned int *surf_expsamples, qbyte *surf_rgbsamples, qbyte *surf_deluxesamples, vec4_t surf_plane, vec4_t surf_texplanes[2], vec2_t exactmins, vec2_t exactmaxs, int texmins[2], int texsize[2], float lmscale)
 
struct relight_ctx_s * LightStartup (struct relight_ctx_s *ctx, struct model_s *model, qboolean shadows, qboolean skiplit)
 
void LightReloadEntities (struct relight_ctx_s *ctx, const char *entstring, qboolean ignorestyles)
 
void LightShutdown (struct relight_ctx_s *ctx)
 
qboolean RelightSetup (struct model_s *model, size_t lightsamples, qboolean generatelit)
 
void RelightThink (void)
 
const char * RelightGetProgress (float *progress)
 
void RelightTerminate (struct model_s *mod)
 
void Mod_Batches_Build (struct model_s *mod, struct builddata_s *bd)
 
shader_tMod_RegisterBasicShader (struct model_s *mod, const char *texname, unsigned int usageflags, const char *shadertext, uploadfmt_t pixelfmt, unsigned int width, unsigned int height, void *pixeldata, void *palettedata)
 
void Media_CaptureDemoEnd (void)
 
void Media_RecordFrame (void)
 
qboolean Media_PausedDemo (qboolean fortiming)
 
int Media_Capturing (void)
 
double Media_TweekCaptureFrameTime (double oldtime, double time)
 
void Media_WriteCurrentTrack (sizebuf_t *buf)
 
void Media_VideoRestarting (void)
 
void Media_VideoRestarted (void)
 
void MYgluPerspective (double fovx, double fovy, double zNear, double zFar)
 
void R_PushDlights (void)
 
void R_SetFrustum (float projmat[16], float viewmat[16])
 
void R_SetRenderer (rendererinfo_t *ri)
 
qboolean R_RegisterRenderer (void *module, rendererinfo_t *ri)
 
qboolean R_RegisterVRDriver (void *module, struct plugvrfuncs_s *vrfuncs)
 
qboolean R_UnRegisterModule (void *module)
 
void R_AnimateLight (void)
 
void R_UpdateHDR (vec3_t org)
 
void R_UpdateLightStyle (unsigned int style, const char *stylestring, float r, float g, float b)
 
void R_BumpLightstyles (unsigned int maxstyle)
 
qboolean R_CalcModelLighting (entity_t *e, struct model_s *clmodel)
 
struct texture_sR_TextureAnimation (int frame, struct texture_s *base)
 
struct texture_sR_TextureAnimation_Q2 (struct texture_s *base)
 
void RQ_Init (void)
 
void RQ_Shutdown (void)
 
qboolean WritePCXfile (const char *filename, enum fs_relative fsroot, qbyte *data, int width, int height, int rowbytes, qbyte *palette, qboolean upload)
 
qbyteReadPCXFile (qbyte *buf, int length, int *width, int *height)
 
voidReadTargaFile (qbyte *buf, int length, int *width, int *height, uploadfmt_t *format, qboolean greyonly, uploadfmt_t forceformat)
 
qbyteReadPNGFile (const char *fname, qbyte *buf, int length, int *width, int *height, uploadfmt_t *format, qboolean force_rgb32)
 
qbyteReadPCXPalette (qbyte *buf, int len, qbyte *out)
 
qbyteReadRawImageFile (qbyte *buf, int len, int *width, int *height, uploadfmt_t *format, qboolean force_rgba8, const char *fname)
 
voidImage_ResampleTexture (uploadfmt_t format, const void *in, int inwidth, int inheight, void *out, int outwidth, int outheight)
 
void Image_ReadExternalAlpha (qbyte *rgbadata, size_t imgwidth, size_t imgheight, const char *fname, uploadfmt_t *format)
 
void BoostGamma (qbyte *rgba, int width, int height, uploadfmt_t fmt)
 
void SaturateR8G8B8 (qbyte *data, int size, float sat)
 
void AddOcranaLEDsIndexed (qbyte *image, int h, int w)
 
void Renderer_Init (void)
 
void Renderer_Start (void)
 
qboolean Renderer_Started (void)
 
void R_ShutdownRenderer (qboolean videotoo)
 
void R_RestartRenderer_f (void)
 
qbyte GetPaletteIndexRange (int first, int stop, int red, int green, int blue)
 
qbyte GetPaletteIndex (int red, int green, int blue)
 
 void (_stdcall *qglFinish)(void)
 

Variables

refdef_t r_refdef
 
vec3_t r_origin
 
vec3_t vpn
 
vec3_t vright
 
vec3_t vup
 
struct texture_sr_notexture_mip
 
entity_t r_worldentity
 
lightmapinfo_t ** lightmap
 
int numlightmaps
 
texid_t particletexture
 
texid_t particlecqtexture
 
texid_t explosiontexture
 
texid_t balltexture
 
texid_t beamtexture
 
texid_t ptritexture
 
const size_t lightthreadctxsize
 
struct model_scurrentmodel
 
cvar_t r_norefresh
 
cvar_t r_drawentities
 
cvar_t r_drawworld
 
cvar_t r_drawviewmodel
 
cvar_t r_drawviewmodelinvis
 
cvar_t r_speeds
 
cvar_t r_waterwarp
 
cvar_t r_fullbright
 
cvar_t r_lightmap
 
cvar_t r_glsl_offsetmapping
 
cvar_t r_skyfog
 
cvar_t r_shadow_playershadows
 
cvar_t r_shadow_realtime_dlight
 
cvar_t r_shadow_realtime_dlight_shadows
 
cvar_t r_shadow_realtime_dlight_ambient
 
cvar_t r_shadow_realtime_dlight_diffuse
 
cvar_t r_shadow_realtime_dlight_specular
 
cvar_t r_shadow_realtime_world
 
cvar_t r_shadow_realtime_world_shadows
 
cvar_t r_shadow_realtime_world_lightmaps
 
cvar_t r_shadow_realtime_world_importlightentitiesfrommap
 
float r_shadow_realtime_world_lightmaps_force
 
cvar_t r_shadow_shadowmapping
 
cvar_t r_mirroralpha
 
cvar_t r_wateralpha
 
cvar_t r_lavaalpha
 
cvar_t r_slimealpha
 
cvar_t r_telealpha
 
cvar_t r_waterstyle
 
cvar_t r_lavastyle
 
cvar_t r_slimestyle
 
cvar_t r_telestyle
 
cvar_t r_dynamic
 
cvar_t r_temporalscenecache
 
cvar_t r_novis
 
cvar_t r_netgraph
 
cvar_t r_deluxemapping_cvar
 
qboolean r_deluxemapping
 
qboolean r_fakeshadows
 
float r_blobshadows
 
cvar_t r_softwarebanding_cvar
 
qboolean r_softwarebanding
 
cvar_t r_lightprepass_cvar
 
int r_lightprepass
 
cvar_t r_xflip
 
cvar_t gl_mindist
 
cvar_t gl_maxdist
 
cvar_t r_clear
 
cvar_t r_clearcolour
 
cvar_t gl_poly
 
cvar_t gl_affinemodels
 
cvar_t r_renderscale
 
cvar_t gl_nohwblend
 
cvar_t r_coronas
 
cvar_t r_coronas_intensity
 
cvar_t r_coronas_occlusion
 
cvar_t r_coronas_mindist
 
cvar_t r_coronas_fadedist
 
cvar_t r_flashblend
 
cvar_t r_flashblendscale
 
cvar_t r_lightstylesmooth
 
cvar_t r_lightstylesmooth_limit
 
cvar_t r_lightstylespeed
 
cvar_t r_lightstylescale
 
cvar_t r_lightmap_scale
 
cvar_t gl_nocolors
 
cvar_t gl_load24bit
 
cvar_t gl_finish
 
cvar_t gl_max_size
 
cvar_t gl_playermip
 
cvar_t r_lightmap_saturation
 
cvar_tcvar_r_meshpitch
 
cvar_tcvar_r_meshroll
 
cvar_t r_meshpitch = CVARCD ("r_meshpitch", "-1", r_meshpitch_callback, "Specifies the direction of the pitch angle on mesh models formats, Quake compatibility requires -1.")
 
cvar_t r_meshroll
 
cvar_t vid_hardwaregamma
 
int rspeeds [RSPEED_MAX]
 
int rquant [RQUANT_MAX]
 

Typedef Documentation

◆ entity_t

typedef struct entity_s entity_t

◆ glRect_t

typedef struct glRect_s glRect_t

◆ index_t

typedef unsigned int index_t

◆ mplane_t

typedef struct mplane_s mplane_t

◆ refdef_t

typedef struct refdef_s refdef_t

◆ skinid_t

typedef unsigned int skinid_t

◆ stmap

typedef unsigned char stmap

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RSPEED_TOTALREFRESH 
RSPEED_CSQCPHYSICS 
RSPEED_CSQCREDRAW 
RSPEED_LINKENTITIES 
RSPEED_WORLDNODE 
RSPEED_DYNAMIC 
RSPEED_OPAQUE 
RSPEED_RTLIGHTS 
RSPEED_TRANSPARENTS 
RSPEED_PROTOCOL 
RSPEED_PARTICLES 
RSPEED_PARTICLESDRAW 
RSPEED_PALETTEFLASHES 
RSPEED_2D 
RSPEED_SERVER 
RSPEED_AUDIO 
RSPEED_SETUP 
RSPEED_SUBMIT 
RSPEED_PRESENT 
RSPEED_ACQUIRE 
RSPEED_MAX 

◆ anonymous enum

anonymous enum
Enumerator
RQUANT_MSECS 
RQUANT_PRIMITIVEINDICIES 
RQUANT_DRAWS 
RQUANT_ENTBATCHES 
RQUANT_WORLDBATCHES 
RQUANT_2DBATCHES 
RQUANT_SHADOWINDICIES 
RQUANT_SHADOWEDGES 
RQUANT_SHADOWSIDES 
RQUANT_LITFACES 
RQUANT_RTLIGHT_DRAWN 
RQUANT_RTLIGHT_CULL_FRUSTUM 
RQUANT_RTLIGHT_CULL_PVS 
RQUANT_RTLIGHT_CULL_SCISSOR 
RQUANT_MAX 

◆ imageflags

enum imageflags
Enumerator
IF_CLAMP 
IF_NOMIPMAP 
IF_NEAREST 
IF_LINEAR 
IF_UIPIC 
IF_SRGB 
IF_NOPICMIP 
IF_NOALPHA 
IF_NOGAMMA 
IF_TEXTYPEMASK 
IF_MIPCAP 
IF_PREMULTIPLYALPHA 
IF_UNUSED15 
IF_UNUSED16 
IF_INEXACT 
IF_WORLDTEX 
IF_SPRITETEX 
IF_NOSRGB 
IF_PALETTIZE 
IF_NOPURGE 
IF_HIGHPRIORITY 
IF_LOWPRIORITY 
IF_LOADNOW 
IF_NOPCX 
IF_TRYBUMP 
IF_RENDERTARGET 
IF_EXACTEXTENSION 
IF_NOREPLACE 
IF_NOWORKER 

◆ qprojection_t

Enumerator
PROJ_STANDARD 
PROJ_STEREOGRAPHIC 
PROJ_FISHEYE 
PROJ_PANORAMA 
PROJ_LAEA 
PROJ_EQUIRECTANGULAR 

◆ refEntityType_t

Enumerator
RT_MODEL 
RT_POLY 
RT_SPRITE 
RT_BEAM 
RT_RAIL_CORE 
RT_RAIL_RINGS 
RT_LIGHTNING 
RT_PORTALSURFACE 
RT_PORTALCAMERA 
RT_MAX_REF_ENTITY_TYPE 

◆ stereomethod_t

Enumerator
STEREO_OFF 
STEREO_QUAD 
STEREO_RED_CYAN 
STEREO_RED_BLUE 
STEREO_RED_GREEN 
STEREO_CROSSEYED 
STEREO_LEFTONLY 
STEREO_RIGHTONLY 

Function Documentation

◆ AddOcranaLEDsIndexed()

void AddOcranaLEDsIndexed ( qbyte image,
int  h,
int  w 
)

◆ BE_GenModelBatches()

void BE_GenModelBatches ( struct batch_s **  batches,
const struct dlight_s dl,
unsigned int  bemode,
const qbyte worldpvs,
const int worldareas 
)

◆ BoostGamma()

void BoostGamma ( qbyte rgba,
int  width,
int  height,
uploadfmt_t  fmt 
)

◆ CL_BlendFog()

void CL_BlendFog ( fogstate_t result,
fogstate_t oldf,
float  time,
fogstate_t newf 
)

◆ CL_ResetFog()

void CL_ResetFog ( int  fogtype)

◆ D3D11_DestroyTexture()

void D3D11_DestroyTexture ( texid_t  tex)

◆ D3D11_LoadTextureMips()

qboolean D3D11_LoadTextureMips ( texid_t  tex,
const struct pendingtextureinfo mips 
)

◆ D3D11_UpdateFiltering()

void D3D11_UpdateFiltering ( image_t imagelist,
int  filtermip[3],
int  filterpic[3],
int  mipcap[2],
float  lodbias,
float  anis 
)

◆ D3D8_DestroyTexture()

void D3D8_DestroyTexture ( texid_t  tex)

◆ D3D8_LoadTextureMips()

qboolean D3D8_LoadTextureMips ( texid_t  tex,
const struct pendingtextureinfo mips 
)

◆ D3D8_Set2D()

void D3D8_Set2D ( void  )

◆ D3D8_UpdateFiltering()

void D3D8_UpdateFiltering ( image_t imagelist,
int  filtermip[3],
int  filterpic[3],
int  mipcap[2],
float  anis 
)

◆ D3D9_DestroyTexture()

void D3D9_DestroyTexture ( texid_t  tex)

◆ D3D9_LoadTextureMips()

qboolean D3D9_LoadTextureMips ( texid_t  tex,
const struct pendingtextureinfo mips 
)

◆ D3D9_Set2D()

void D3D9_Set2D ( void  )

◆ D3D9_UpdateFiltering()

void D3D9_UpdateFiltering ( image_t imagelist,
int  filtermip[3],
int  filterpic[3],
int  mipcap[2],
float  lodbias,
float  anis 
)

◆ GetPaletteIndex()

qbyte GetPaletteIndex ( int  red,
int  green,
int  blue 
)

◆ GetPaletteIndexRange()

qbyte GetPaletteIndexRange ( int  first,
int  stop,
int  red,
int  green,
int  blue 
)

◆ GLR_DeInit()

void GLR_DeInit ( void  )

◆ GLR_DrawPortal()

void GLR_DrawPortal ( struct batch_s batch,
struct batch_s **  blist,
struct batch_s depthmasklist[2],
int  portaltype 
)

◆ GLR_DrawWaterSurfaces()

void GLR_DrawWaterSurfaces ( void  )

◆ GLR_Init()

void GLR_Init ( void  )

◆ GLR_InitEfrags()

void GLR_InitEfrags ( void  )

◆ GLR_InitTextures()

void GLR_InitTextures ( void  )

◆ GLR_LoadSkys()

void GLR_LoadSkys ( void  )

◆ GLR_PushDlights()

void GLR_PushDlights ( void  )

◆ GLR_RenderView()

void GLR_RenderView ( void  )

◆ GLSCR_DeInit()

void GLSCR_DeInit ( void  )

◆ GLVID_Console_Resize()

void GLVID_Console_Resize ( void  )

◆ GLVID_DeInit()

void GLVID_DeInit ( void  )

◆ Image_BlockSizeForEncoding()

void Image_BlockSizeForEncoding ( uploadfmt_t  encoding,
unsigned int blockbytes,
unsigned int blockwidth,
unsigned int blockheight,
unsigned int blockdepth 
)

◆ Image_ChangeFormat()

void Image_ChangeFormat ( struct pendingtextureinfo mips,
qboolean allowedformats,
uploadfmt_t  origfmt,
const char *  imagename 
)

◆ Image_CreateTexture()

image_t * Image_CreateTexture ( const char *  identifier,
const char *  subpath,
unsigned int  flags 
)

◆ Image_DestroyTexture()

void Image_DestroyTexture ( image_t tex)

◆ Image_FindTexture()

image_t * Image_FindTexture ( const char *  identifier,
const char *  subpath,
unsigned int  flags 
)

◆ Image_FlipImage()

void * Image_FlipImage ( const void inbuffer,
void outbuffer,
int inoutwidth,
int inoutheight,
int  pixelbytes,
qboolean  flipx,
qboolean  flipy,
qboolean  flipd 
)

◆ Image_FormatHasAlpha()

qboolean Image_FormatHasAlpha ( uploadfmt_t  encoding)

◆ Image_FormatName()

const char * Image_FormatName ( uploadfmt_t  encoding)

◆ Image_GetTexture()

image_t *QDECL Image_GetTexture ( const char *  identifier,
const char *  subpath,
unsigned int  flags,
void fallbackdata,
void fallbackpalette,
int  fallbackwidth,
int  fallbackheight,
uploadfmt_t  fallbackfmt 
)

◆ Image_Init()

void Image_Init ( void  )

◆ Image_LoadMipsFromMemory()

struct pendingtextureinfo * Image_LoadMipsFromMemory ( int  flags,
const char *  iname,
const char *  fname,
qbyte filedata,
int  filesize 
)

◆ Image_LoadTexture()

image_t * Image_LoadTexture ( const char *  identifier,
int  width,
int  height,
uploadfmt_t  fmt,
void data,
unsigned int  flags 
)

◆ Image_LoadTextureFromMemory()

qboolean Image_LoadTextureFromMemory ( texid_t  tex,
int  flags,
const char *  iname,
const char *  fname,
qbyte filedata,
int  filesize 
)

◆ Image_LocateHighResTexture()

qboolean Image_LocateHighResTexture ( image_t tex,
flocation_t bestloc,
char *  bestname,
size_t  bestnamesize,
unsigned int bestflags 
)

◆ Image_Premultiply()

void Image_Premultiply ( struct pendingtextureinfo mips)

◆ Image_PrintInputFormatVersions()

void Image_PrintInputFormatVersions ( void  )

◆ Image_Purge()

void Image_Purge ( void  )

◆ Image_ReadExternalAlpha()

void Image_ReadExternalAlpha ( qbyte rgbadata,
size_t  imgwidth,
size_t  imgheight,
const char *  fname,
uploadfmt_t format 
)

◆ Image_RegisterLoader()

qboolean Image_RegisterLoader ( void module,
plugimageloaderfuncs_t loader 
)

◆ Image_ResampleTexture()

void * Image_ResampleTexture ( uploadfmt_t  format,
const void in,
int  inwidth,
int  inheight,
void out,
int  outwidth,
int  outheight 
)

◆ Image_Shutdown()

void Image_Shutdown ( void  )

◆ Image_TextureIsValid()

image_t * Image_TextureIsValid ( qintptr_t  address)

◆ Image_UnloadTexture()

qboolean Image_UnloadTexture ( image_t tex)

◆ Image_Upload()

void Image_Upload ( texid_t  tex,
uploadfmt_t  fmt,
void data,
void palette,
int  width,
int  height,
int  depth,
unsigned int  flags 
)

◆ Image_WriteDDSFile()

qboolean Image_WriteDDSFile ( const char *  filename,
enum fs_relative  fsroot,
struct pendingtextureinfo mips 
)

◆ Image_WriteKTXFile()

qboolean Image_WriteKTXFile ( const char *  filename,
enum fs_relative  fsroot,
struct pendingtextureinfo mips 
)

◆ LightPlane()

void LightPlane ( struct relight_ctx_s *  ctx,
struct llightinfo_s *  threadctx,
lightstyleindex_t  surf_styles[MAXCPULIGHTMAPS],
unsigned int surf_expsamples,
qbyte surf_rgbsamples,
qbyte surf_deluxesamples,
vec4_t  surf_plane,
vec4_t  surf_texplanes[2],
vec2_t  exactmins,
vec2_t  exactmaxs,
int  texmins[2],
int  texsize[2],
float  lmscale 
)

◆ LightReloadEntities()

void LightReloadEntities ( struct relight_ctx_s *  ctx,
const char *  entstring,
qboolean  ignorestyles 
)

◆ LightShutdown()

void LightShutdown ( struct relight_ctx_s *  ctx)

◆ LightStartup()

struct relight_ctx_s * LightStartup ( struct relight_ctx_s *  ctx,
struct model_s model,
qboolean  shadows,
qboolean  skiplit 
)

◆ Media_CaptureDemoEnd()

void Media_CaptureDemoEnd ( void  )

◆ Media_Capturing()

int Media_Capturing ( void  )

◆ Media_PausedDemo()

qboolean Media_PausedDemo ( qboolean  fortiming)

◆ Media_RecordFrame()

void Media_RecordFrame ( void  )

◆ Media_TweekCaptureFrameTime()

double Media_TweekCaptureFrameTime ( double  oldtime,
double  time 
)

◆ Media_VideoRestarted()

void Media_VideoRestarted ( void  )

◆ Media_VideoRestarting()

void Media_VideoRestarting ( void  )

◆ Media_WriteCurrentTrack()

void Media_WriteCurrentTrack ( sizebuf_t buf)

◆ Mod_Batches_Build()

void Mod_Batches_Build ( struct model_s mod,
struct builddata_s bd 
)

◆ Mod_ClearAll()

void Mod_ClearAll ( void  )

◆ Mod_Extradata()

void * Mod_Extradata ( struct model_s mod)

◆ Mod_FindName()

struct model_s * Mod_FindName ( const char *  name)

◆ Mod_FrameNumForAction()

int Mod_FrameNumForAction ( struct model_s model,
int  surfaceidx,
int  actionid 
)

◆ Mod_FrameNumForName()

int Mod_FrameNumForName ( struct model_s model,
int  surfaceidx,
const char *  name 
)

◆ Mod_GetFrameDuration()

float Mod_GetFrameDuration ( struct model_s model,
int  surfaceidx,
int  frameno 
)

◆ Mod_Init()

void Mod_Init ( qboolean  initial)

◆ Mod_LightmapAllocBlock()

void Mod_LightmapAllocBlock ( lmalloc_t lmallocator,
int  w,
int  h,
unsigned short *  x,
unsigned short *  y,
int tnum 
)

◆ Mod_LightmapAllocInit()

void Mod_LightmapAllocInit ( lmalloc_t lmallocator,
qboolean  hasdeluxe,
unsigned int  width,
unsigned int  height,
int  firstlm 
)

◆ Mod_LookupSkin()

skinfile_t * Mod_LookupSkin ( skinid_t  id)

◆ Mod_ModelLoaded()

void Mod_ModelLoaded ( void ctx,
void data,
size_t  a,
size_t  b 
)

◆ Mod_NowLoadExternal()

void Mod_NowLoadExternal ( struct model_s loadmodel)

◆ Mod_ReadSkinFile()

skinid_t Mod_ReadSkinFile ( const char *  skinname,
const char *  skintext 
)

◆ Mod_RebuildLightmaps()

void Mod_RebuildLightmaps ( void  )

◆ Mod_RegisterBasicShader()

shader_t * Mod_RegisterBasicShader ( struct model_s mod,
const char *  texname,
unsigned int  usageflags,
const char *  shadertext,
uploadfmt_t  pixelfmt,
unsigned int  width,
unsigned int  height,
void pixeldata,
void palettedata 
)

◆ Mod_RegisterModelFormatMagic()

int Mod_RegisterModelFormatMagic ( void module,
const char *  formatname,
qbyte magic,
size_t  magicsize,
qboolean(QDECL *load)(struct model_s *mod, void *buffer, size_t fsize)   
)

◆ Mod_RegisterModelFormatText()

int Mod_RegisterModelFormatText ( void module,
const char *  formatname,
char *  magictext,
qboolean(QDECL *load)(struct model_s *mod, void *buffer, size_t fsize)   
)

◆ Mod_RegisterSkinFile()

skinid_t Mod_RegisterSkinFile ( const char *  skinname)

◆ Mod_ResortShaders()

void Mod_ResortShaders ( void  )

◆ Mod_Shutdown()

void Mod_Shutdown ( qboolean  final)

◆ Mod_SkinNumForName()

int Mod_SkinNumForName ( struct model_s model,
int  surfaceidx,
const char *  name 
)

◆ Mod_SubmodelLoaded()

void Mod_SubmodelLoaded ( struct model_s mod,
int  state 
)

◆ Mod_TagNumForName()

int Mod_TagNumForName ( struct model_s model,
const char *  name,
int  firsttag 
)

◆ Mod_TouchModel()

void Mod_TouchModel ( const char *  name)

◆ Mod_UnRegisterAllModelFormats()

void Mod_UnRegisterAllModelFormats ( void module)

◆ Mod_UnRegisterModelFormat()

void Mod_UnRegisterModelFormat ( void module,
int  idx 
)

◆ Mod_WipeSkin()

void Mod_WipeSkin ( skinid_t  id,
qboolean  force 
)

◆ MYgluPerspective()

void MYgluPerspective ( double  fovx,
double  fovy,
double  zNear,
double  zFar 
)

◆ R_AnimateLight()

void R_AnimateLight ( void  )

◆ R_BloomRegister()

void R_BloomRegister ( void  )

◆ R_BumpLightstyles()

void R_BumpLightstyles ( unsigned int  maxstyle)

◆ R_CalcModelLighting()

qboolean R_CalcModelLighting ( entity_t e,
struct model_s clmodel 
)

◆ R_Clutter_Emit()

void R_Clutter_Emit ( struct batch_s **  batches)

◆ R_Clutter_Purge()

void R_Clutter_Purge ( void  )

◆ R_DrawSkyChain()

qboolean R_DrawSkyChain ( struct batch_s batch)

◆ R_GAlias_DrawBatch()

void R_GAlias_DrawBatch ( struct batch_s batch)

◆ R_GAlias_GenerateBatches()

void R_GAlias_GenerateBatches ( entity_t e,
struct batch_s **  batches 
)

◆ R_GAliasFlushSkinCache()

void R_GAliasFlushSkinCache ( qboolean  final)

◆ R_GetDefaultEnvmap()

texid_t R_GetDefaultEnvmap ( void  )

◆ R_InitSky()

void R_InitSky ( shader_t shader,
const char *  skyname,
uploadfmt_t  fmt,
qbyte src,
unsigned int  width,
unsigned int  height 
)

◆ R_LightArrays()

void R_LightArrays ( const entity_t entity,
vecV_t *  coords,
avec4_t *  colours,
int  vertcount,
vec3_t normals,
float  scale,
qboolean  colormod 
)

◆ R_LightArraysByte_BGR()

void R_LightArraysByte_BGR ( const entity_t entity,
vecV_t *  coords,
byte_vec4_t *  colours,
int  vertcount,
vec3_t normals,
qboolean  colormod 
)

◆ R_LightPoint()

int R_LightPoint ( vec3_t  p)

◆ R_LoadBumpmapTexture()

texid_tf R_LoadBumpmapTexture ( const char *  name,
const char *  subpath 
)

◆ R_LoadHiResTexture()

texid_tf R_LoadHiResTexture ( const char *  name,
const char *  subpath,
unsigned int  flags 
)

◆ R_LoadNumberedLightTexture()

void R_LoadNumberedLightTexture ( struct dlight_s dl,
int  cubetexnum 
)

◆ R_LoadReplacementTexture()

texid_t R_LoadReplacementTexture ( const char *  name,
const char *  subpath,
unsigned int  flags,
void lowres,
int  lowreswidth,
int  lowresheight,
uploadfmt_t  fmt 
)

◆ R_PushDlights()

void R_PushDlights ( void  )

◆ R_RegisterRenderer()

qboolean R_RegisterRenderer ( void module,
rendererinfo_t ri 
)

◆ R_RegisterVRDriver()

qboolean R_RegisterVRDriver ( void module,
struct plugvrfuncs_s vrfuncs 
)

◆ R_RenderDlights()

void R_RenderDlights ( void  )

◆ R_RestartRenderer_f()

void R_RestartRenderer_f ( void  )

◆ R_SetFrustum()

void R_SetFrustum ( float  projmat[16],
float  viewmat[16] 
)

◆ R_SetRenderer()

void R_SetRenderer ( rendererinfo_t ri)

◆ R_SetSky()

void R_SetSky ( const char *  skyname)

◆ R_ShutdownRenderer()

void R_ShutdownRenderer ( qboolean  videotoo)

◆ R_Sky_Register()

void R_Sky_Register ( void  )

◆ R_SkyShutdown()

void R_SkyShutdown ( void  )

◆ R_TextureAnimation()

struct texture_s * R_TextureAnimation ( int  frame,
struct texture_s base 
)

◆ R_TextureAnimation_Q2()

struct texture_s * R_TextureAnimation_Q2 ( struct texture_s base)

◆ R_UnRegisterModule()

qboolean R_UnRegisterModule ( void module)

◆ R_UpdateHDR()

void R_UpdateHDR ( vec3_t  org)

◆ R_UpdateLightStyle()

void R_UpdateLightStyle ( unsigned int  style,
const char *  stylestring,
float  r,
float  g,
float  b 
)

◆ ReadPCXFile()

qbyte * ReadPCXFile ( qbyte buf,
int  length,
int width,
int height 
)

◆ ReadPCXPalette()

qbyte * ReadPCXPalette ( qbyte buf,
int  len,
qbyte out 
)

◆ ReadPNGFile()

qbyte * ReadPNGFile ( const char *  fname,
qbyte buf,
int  length,
int width,
int height,
uploadfmt_t format,
qboolean  force_rgb32 
)

◆ ReadRawImageFile()

qbyte * ReadRawImageFile ( qbyte buf,
int  len,
int width,
int height,
uploadfmt_t format,
qboolean  force_rgba8,
const char *  fname 
)

◆ ReadTargaFile()

void * ReadTargaFile ( qbyte buf,
int  length,
int width,
int height,
uploadfmt_t format,
qboolean  greyonly,
uploadfmt_t  forceformat 
)

◆ RelightGetProgress()

const char * RelightGetProgress ( float *  progress)

◆ RelightSetup()

qboolean RelightSetup ( struct model_s model,
size_t  lightsamples,
qboolean  generatelit 
)

◆ RelightTerminate()

void RelightTerminate ( struct model_s mod)

◆ RelightThink()

void RelightThink ( void  )

◆ Renderer_Init()

void Renderer_Init ( void  )

◆ Renderer_Start()

void Renderer_Start ( void  )

◆ Renderer_Started()

qboolean Renderer_Started ( void  )

◆ RQ_Init()

void RQ_Init ( void  )

◆ RQ_Shutdown()

void RQ_Shutdown ( void  )

◆ SaturateR8G8B8()

void SaturateR8G8B8 ( qbyte data,
int  size,
float  sat 
)

◆ Surf_AddStain()

void Surf_AddStain ( vec3_t  org,
float  red,
float  green,
float  blue,
float  radius 
)

◆ Surf_BuildLightmaps()

void Surf_BuildLightmaps ( void  )

◆ Surf_BuildModelLightmaps()

void Surf_BuildModelLightmaps ( struct model_s m)

◆ Surf_Clear()

void Surf_Clear ( struct model_s mod)

◆ Surf_ClearSceneCache()

void Surf_ClearSceneCache ( void  )

◆ Surf_DeInit()

void Surf_DeInit ( void  )

◆ Surf_DrawWorld()

void Surf_DrawWorld ( void  )

◆ Surf_GenBrushBatches()

void Surf_GenBrushBatches ( struct batch_s **  batches,
entity_t ent 
)

◆ Surf_LessenStains()

void Surf_LessenStains ( void  )

◆ Surf_LightmapShift()

int Surf_LightmapShift ( struct model_s model)

◆ Surf_NewMap()

void Surf_NewMap ( struct model_s worldmodel)

◆ Surf_PreNewMap()

void Surf_PreNewMap ( void  )

◆ Surf_RebuildLightmap_Callback()

void QDECL Surf_RebuildLightmap_Callback ( struct cvar_s var,
char *  oldvalue 
)

◆ Surf_RenderAmbientLightmaps()

void Surf_RenderAmbientLightmaps ( struct msurface_s fa,
int  ambient 
)

◆ Surf_RenderDynamicLightmaps()

void Surf_RenderDynamicLightmaps ( struct msurface_s fa)

◆ Surf_SetupFrame()

void Surf_SetupFrame ( void  )

◆ Surf_StainSurf()

void Surf_StainSurf ( struct model_s mod,
struct msurface_s surf,
float *  parms 
)

◆ Surf_WipeStains()

void Surf_WipeStains ( void  )

◆ void()

void ( _stdcall *  qglFinish)

◆ WritePCXfile()

qboolean WritePCXfile ( const char *  filename,
enum fs_relative  fsroot,
qbyte data,
int  width,
int  height,
int  rowbytes,
qbyte palette,
qboolean  upload 
)

Variable Documentation

◆ balltexture

texid_t balltexture
extern

◆ beamtexture

texid_t beamtexture
extern

◆ currentmodel

struct model_s* currentmodel
extern

◆ cvar_r_meshpitch

cvar_t* cvar_r_meshpitch
extern

◆ cvar_r_meshroll

cvar_t* cvar_r_meshroll
extern

◆ explosiontexture

texid_t explosiontexture
extern

◆ gl_affinemodels

cvar_t gl_affinemodels
extern

◆ gl_finish

cvar_t gl_finish
extern

◆ gl_load24bit

cvar_t gl_load24bit
extern

◆ gl_max_size

cvar_t gl_max_size
extern

◆ gl_maxdist

cvar_t gl_maxdist

◆ gl_mindist

cvar_t gl_mindist
extern

◆ gl_nocolors

cvar_t gl_nocolors
extern

◆ gl_nohwblend

cvar_t gl_nohwblend
extern

◆ gl_playermip

cvar_t gl_playermip
extern

◆ gl_poly

cvar_t gl_poly
extern

◆ lightmap

lightmapinfo_t** lightmap
extern

◆ lightthreadctxsize

const size_t lightthreadctxsize
extern

◆ numlightmaps

int numlightmaps
extern

◆ particlecqtexture

texid_t particlecqtexture
extern

◆ particletexture

texid_t particletexture
extern

◆ ptritexture

texid_t ptritexture
extern

◆ r_blobshadows

float r_blobshadows
extern

◆ r_clear

cvar_t r_clear
extern

◆ r_clearcolour

cvar_t r_clearcolour
extern

◆ r_coronas

cvar_t r_coronas
extern

◆ r_coronas_fadedist

cvar_t r_coronas_fadedist

◆ r_coronas_intensity

cvar_t r_coronas_intensity

◆ r_coronas_mindist

cvar_t r_coronas_mindist

◆ r_coronas_occlusion

cvar_t r_coronas_occlusion

◆ r_deluxemapping

qboolean r_deluxemapping
extern

◆ r_deluxemapping_cvar

cvar_t r_deluxemapping_cvar
extern

◆ r_drawentities

cvar_t r_drawentities
extern

◆ r_drawviewmodel

cvar_t r_drawviewmodel
extern

◆ r_drawviewmodelinvis

cvar_t r_drawviewmodelinvis
extern

◆ r_drawworld

cvar_t r_drawworld
extern

◆ r_dynamic

cvar_t r_dynamic
extern

◆ r_fakeshadows

qboolean r_fakeshadows
extern

◆ r_flashblend

cvar_t r_flashblend

◆ r_flashblendscale

cvar_t r_flashblendscale

◆ r_fullbright

cvar_t r_fullbright
extern

◆ r_glsl_offsetmapping

cvar_t r_glsl_offsetmapping
extern

◆ r_lavaalpha

cvar_t r_lavaalpha
extern

◆ r_lavastyle

cvar_t r_lavastyle
extern

◆ r_lightmap

cvar_t r_lightmap
extern

◆ r_lightmap_saturation

cvar_t r_lightmap_saturation
extern

◆ r_lightmap_scale

cvar_t r_lightmap_scale
extern

◆ r_lightprepass

int r_lightprepass
extern

◆ r_lightprepass_cvar

cvar_t r_lightprepass_cvar
extern

◆ r_lightstylescale

cvar_t r_lightstylescale
extern

◆ r_lightstylesmooth

cvar_t r_lightstylesmooth
extern

◆ r_lightstylesmooth_limit

cvar_t r_lightstylesmooth_limit
extern

◆ r_lightstylespeed

cvar_t r_lightstylespeed
extern

◆ r_meshpitch

cvar_t r_meshpitch = CVARCD ("r_meshpitch", "-1", r_meshpitch_callback, "Specifies the direction of the pitch angle on mesh models formats, Quake compatibility requires -1.")
extern

◆ r_meshroll

cvar_t r_meshroll
extern

◆ r_mirroralpha

cvar_t r_mirroralpha
extern

◆ r_netgraph

cvar_t r_netgraph
extern

◆ r_norefresh

cvar_t r_norefresh
extern

◆ r_notexture_mip

struct texture_s* r_notexture_mip
extern

◆ r_novis

cvar_t r_novis
extern

◆ r_origin

vec3_t r_origin
extern

◆ r_refdef

refdef_t r_refdef
extern

◆ r_renderscale

cvar_t r_renderscale
extern

◆ r_shadow_playershadows

cvar_t r_shadow_playershadows
extern

◆ r_shadow_realtime_dlight

cvar_t r_shadow_realtime_dlight
extern

◆ r_shadow_realtime_dlight_ambient

cvar_t r_shadow_realtime_dlight_ambient
extern

◆ r_shadow_realtime_dlight_diffuse

cvar_t r_shadow_realtime_dlight_diffuse
extern

◆ r_shadow_realtime_dlight_shadows

cvar_t r_shadow_realtime_dlight_shadows

◆ r_shadow_realtime_dlight_specular

cvar_t r_shadow_realtime_dlight_specular
extern

◆ r_shadow_realtime_world

cvar_t r_shadow_realtime_world
extern

◆ r_shadow_realtime_world_importlightentitiesfrommap

cvar_t r_shadow_realtime_world_importlightentitiesfrommap

◆ r_shadow_realtime_world_lightmaps

cvar_t r_shadow_realtime_world_lightmaps

◆ r_shadow_realtime_world_lightmaps_force

float r_shadow_realtime_world_lightmaps_force
extern

◆ r_shadow_realtime_world_shadows

cvar_t r_shadow_realtime_world_shadows

◆ r_shadow_shadowmapping

cvar_t r_shadow_shadowmapping
extern

◆ r_skyfog

cvar_t r_skyfog
extern

◆ r_slimealpha

cvar_t r_slimealpha
extern

◆ r_slimestyle

cvar_t r_slimestyle
extern

◆ r_softwarebanding

qboolean r_softwarebanding
extern

◆ r_softwarebanding_cvar

cvar_t r_softwarebanding_cvar
extern

◆ r_speeds

cvar_t r_speeds
extern

◆ r_telealpha

cvar_t r_telealpha
extern

◆ r_telestyle

cvar_t r_telestyle
extern

◆ r_temporalscenecache

cvar_t r_temporalscenecache
extern

◆ r_wateralpha

cvar_t r_wateralpha
extern

◆ r_waterstyle

cvar_t r_waterstyle
extern

◆ r_waterwarp

cvar_t r_waterwarp
extern

◆ r_worldentity

entity_t r_worldentity
extern

◆ r_xflip

cvar_t r_xflip
extern

◆ rquant

int rquant[RQUANT_MAX]
extern

◆ rspeeds

int rspeeds[RSPEED_MAX]
extern

◆ vid_hardwaregamma

cvar_t vid_hardwaregamma
extern

◆ vpn

vec3_t vpn

◆ vright

vec3_t vright

◆ vup

vec3_t vup