C# Class SharpQuake.Vid

Vid_functions
Show file Open project: Memorix101/SharpQuake Class Usage Examples

Public Methods

Method Description
GetModeDescription ( int mode ) : string

VID_GetModeDescription

Init ( byte palette ) : void
SetMode ( int modenum, byte palette ) : void
SetPalette ( byte palette ) : void

VID_SetPalette called at startup and after any gamma correction

Shutdown ( ) : void

VID_Shutdown Called at shutdown

Private Methods

Method Description
CheckGamma ( byte pal ) : void
CheckMultiTextureExtensions ( ) : void

CheckMultiTextureExtensions

CheckTextureExtensions ( ) : void

CheckTextureExtensions

ClearAllStates ( ) : void
DescribeCurrentMode_f ( ) : void
DescribeMode_f ( ) : void
DescribeModes_f ( ) : void
GetExtModeDescription ( int mode ) : string
InitOpenGL ( ) : void

GL_Init

NumModes_f ( ) : void

Method Details

GetModeDescription() public static method

VID_GetModeDescription
public static GetModeDescription ( int mode ) : string
mode int
return string

Init() public static method

public static Init ( byte palette ) : void
palette byte
return void

SetMode() public static method

public static SetMode ( int modenum, byte palette ) : void
modenum int
palette byte
return void

SetPalette() public static method

VID_SetPalette called at startup and after any gamma correction
public static SetPalette ( byte palette ) : void
palette byte
return void

Shutdown() public static method

VID_Shutdown Called at shutdown
public static Shutdown ( ) : void
return void