UFO: Alien Invasion
Loading...
Searching...
No Matches
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>

Collaboration diagram for viddefContext_t:
Collaboration graph

Data Fields

long left
long top
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 44 of file cl_video.h.

Field Documentation

◆ fullscreen

bool viddefContext_t::fullscreen

currently in fullscreen mode?

Definition at line 50 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ height

unsigned viddefContext_t::height

game screen/window height

Definition at line 48 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ left

long viddefContext_t::left

game screen/window left position

Definition at line 45 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ mode

int viddefContext_t::mode

resolution mode - see vidmode_t

Definition at line 49 of file cl_video.h.

Referenced by R_SetMode().

◆ multisample

int viddefContext_t::multisample

number of multisample used by the context

Definition at line 51 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ swapinterval

int viddefContext_t::swapinterval

number of swapinterval used by the context

Definition at line 52 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ top

long viddefContext_t::top

game screen/window top position

Definition at line 46 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().

◆ width

unsigned viddefContext_t::width

game screen/window width

Definition at line 47 of file cl_video.h.

Referenced by R_InitGraphics(), and R_SetMode().


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