UFO: Alien Invasion
Loading...
Searching...
No Matches
r_thread.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void R_InitThreads (void)
void R_ShutdownThreads (void)
int R_RunThread (void *p)

Function Documentation

◆ R_InitThreads()

void R_InitThreads ( void )
See also
R_ShutdownThreads

Definition at line 85 of file r_thread.cpp.

References Com_CreateThread(), R_RunThread(), and r_threadstate.

Referenced by R_BeginFrame().

◆ R_RunThread()

int R_RunThread ( void * p)
Todo
  • update per-model dynamic light list sorting here

Definition at line 38 of file r_thread.cpp.

References R_GetLevelSurfaceLists(), R_SetupFrustum(), r_threads, r_threadstate, refdef, Sys_Sleep(), THREAD_BSP, THREAD_RENDERER, and THREAD_SLEEP_INTERVAL.

Referenced by R_InitThreads().

◆ R_ShutdownThreads()

void R_ShutdownThreads ( void )
See also
R_InitThreads

Definition at line 69 of file r_thread.cpp.

References r_threads, r_threadstate, and THREAD_BSP.

Referenced by R_BeginFrame(), and R_Shutdown().