UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
viddefContext_t Struct Reference

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
 

Detailed Description

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.

Field Documentation

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().

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().


The documentation for this struct was generated from the following file: