doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
tr_render.cpp File Reference
#include "../idlib/precompiled.h"
#include "tr_local.h"

Go to the source code of this file.

Functions

void RB_DrawElementsImmediate (const srfTriangles_t *tri)
 
void RB_DrawElementsWithCounters (const srfTriangles_t *tri)
 
void RB_DrawShadowElementsWithCounters (const srfTriangles_t *tri, int numIndexes)
 
void RB_RenderTriangleSurface (const srfTriangles_t *tri)
 
void RB_T_RenderTriangleSurface (const drawSurf_t *surf)
 
void RB_EnterWeaponDepthHack ()
 
void RB_EnterModelDepthHack (float depth)
 
void RB_LeaveDepthHack ()
 
void RB_RenderDrawSurfListWithFunction (drawSurf_t **drawSurfs, int numDrawSurfs, void(*triFunc_)(const drawSurf_t *))
 
void RB_RenderDrawSurfChainWithFunction (const drawSurf_t *drawSurfs, void(*triFunc_)(const drawSurf_t *))
 
void RB_GetShaderTextureMatrix (const float *shaderRegisters, const textureStage_t *texture, float matrix[16])
 
void RB_LoadShaderTextureMatrix (const float *shaderRegisters, const textureStage_t *texture)
 
void RB_BindVariableStageImage (const textureStage_t *texture, const float *shaderRegisters)
 
void RB_BindStageTexture (const float *shaderRegisters, const textureStage_t *texture, const drawSurf_t *surf)
 
void RB_FinishStageTexture (const textureStage_t *texture, const drawSurf_t *surf)
 
void RB_DetermineLightScale (void)
 
void RB_BeginDrawingView (void)
 
void R_SetDrawInteraction (const shaderStage_t *surfaceStage, const float *surfaceRegs, idImage **image, idVec4 matrix[2], float color[4])
 
void RB_CreateSingleDrawInteractions (const drawSurf_t *surf, void(*DrawInteraction)(const drawInteraction_t *))
 
void RB_DrawView (const void *data)
 

Function Documentation

void R_SetDrawInteraction ( const shaderStage_t surfaceStage,
const float surfaceRegs,
idImage **  image,
idVec4  matrix[2],
float  color[4] 
)

Definition at line 600 of file tr_render.cpp.

void RB_BeginDrawingView ( void  )

Definition at line 555 of file tr_render.cpp.

void RB_BindStageTexture ( const float shaderRegisters,
const textureStage_t texture,
const drawSurf_t surf 
)

Definition at line 410 of file tr_render.cpp.

void RB_BindVariableStageImage ( const textureStage_t texture,
const float shaderRegisters 
)

Definition at line 378 of file tr_render.cpp.

void RB_CreateSingleDrawInteractions ( const drawSurf_t surf,
void(*)(const drawInteraction_t *)  DrawInteraction 
)

Definition at line 689 of file tr_render.cpp.

void RB_DetermineLightScale ( void  )

Definition at line 500 of file tr_render.cpp.

void RB_DrawElementsImmediate ( const srfTriangles_t tri)

Definition at line 49 of file tr_render.cpp.

void RB_DrawElementsWithCounters ( const srfTriangles_t tri)

Definition at line 78 of file tr_render.cpp.

void RB_DrawShadowElementsWithCounters ( const srfTriangles_t tri,
int  numIndexes 
)

Definition at line 117 of file tr_render.cpp.

void RB_DrawView ( const void data)

Definition at line 849 of file tr_render.cpp.

void RB_EnterModelDepthHack ( float  depth)

Definition at line 195 of file tr_render.cpp.

void RB_EnterWeaponDepthHack ( )

Definition at line 176 of file tr_render.cpp.

void RB_FinishStageTexture ( const textureStage_t texture,
const drawSurf_t surf 
)

Definition at line 451 of file tr_render.cpp.

void RB_GetShaderTextureMatrix ( const float shaderRegisters,
const textureStage_t texture,
float  matrix[16] 
)

Definition at line 325 of file tr_render.cpp.

void RB_LeaveDepthHack ( )

Definition at line 214 of file tr_render.cpp.

void RB_LoadShaderTextureMatrix ( const float shaderRegisters,
const textureStage_t texture 
)

Definition at line 362 of file tr_render.cpp.

void RB_RenderDrawSurfChainWithFunction ( const drawSurf_t drawSurfs,
void(*)(const drawSurf_t *)  triFunc_ 
)

Definition at line 280 of file tr_render.cpp.

void RB_RenderDrawSurfListWithFunction ( drawSurf_t **  drawSurfs,
int  numDrawSurfs,
void(*)(const drawSurf_t *)  triFunc_ 
)

Definition at line 232 of file tr_render.cpp.

void RB_RenderTriangleSurface ( const srfTriangles_t tri)

Definition at line 147 of file tr_render.cpp.

void RB_T_RenderTriangleSurface ( const drawSurf_t surf)

Definition at line 167 of file tr_render.cpp.