UFO: Alien Invasion
|
Contains the game screen context, everything that is needed to create the graphic context. These value are stored to allow to restore the old context. More...
#include <cl_video.h>
Data Fields | |
unsigned | width |
unsigned | height |
int | mode |
bool | fullscreen |
int | multisample |
int | swapinterval |
Contains the game screen context, everything that is needed to create the graphic context. These value are stored to allow to restore the old context.
Definition at line 43 of file cl_video.h.
bool viddefContext_t::fullscreen |
currently in fullscreen mode?
Definition at line 47 of file cl_video.h.
Referenced by R_InitGraphics(), R_SetMode(), and R_UpdateVidDef().
unsigned viddefContext_t::height |
game screen/window height
Definition at line 45 of file cl_video.h.
Referenced by CL_BattlescapeRadarMapInFrameBuffer(), Con_DrawConsole(), IN_JoystickMove(), MYgluPerspective(), R_DrawBloom(), R_InitFBObjects(), R_InitGraphics(), R_InitializeShader(), R_ScreenShot_f(), R_SetMode(), R_Setup2D(), R_Setup3D(), and R_UpdateVidDef().
int viddefContext_t::mode |
resolution mode - see vidmode_t
Definition at line 46 of file cl_video.h.
Referenced by R_SetMode(), and R_UpdateVidDef().
int viddefContext_t::multisample |
number of multisample used by the context
Definition at line 48 of file cl_video.h.
Referenced by R_InitGraphics(), R_SetMode(), and R_UpdateVidDef().
int viddefContext_t::swapinterval |
number of swapinterval used by the context
Definition at line 49 of file cl_video.h.
Referenced by R_InitGraphics(), R_SetMode(), and R_UpdateVidDef().
unsigned viddefContext_t::width |
game screen/window width
Definition at line 44 of file cl_video.h.
Referenced by CL_BattlescapeRadarMapInFrameBuffer(), Con_CheckResize(), Con_DrawConsole(), IN_JoystickMove(), MYgluPerspective(), R_DrawBloom(), R_InitFBObjects(), R_InitGraphics(), R_InitializeShader(), R_ScreenShot_f(), R_SetMode(), R_Setup2D(), R_Setup3D(), R_UpdateVidDef(), and SCR_UpdateScreen().