C# Class Sharpex2D.Rendering.OpenGL.OpenGLHelper

ファイルを表示 Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
ClearLastError ( ) : void

Clears the last opengl error.

ConvertColor ( Color color ) : OpenGLColor

Converts the color to a OpenGLColor.

ConvertFont ( OpenGLFont font ) : Font

Converts the font out of an OpenGLFont object.

DisplayLastError ( ) : void

Displays the last error.

GetLastError ( ) : OpenGLError

Gets the last error.

ThrowLastError ( ) : void

Throws the last error.

Method Details

ClearLastError() public static method

Clears the last opengl error.
public static ClearLastError ( ) : void
return void

ConvertColor() public static method

Converts the color to a OpenGLColor.
public static ConvertColor ( Color color ) : OpenGLColor
color System.Drawing.Color The Color.
return OpenGLColor

ConvertFont() public static method

Converts the font out of an OpenGLFont object.
public static ConvertFont ( OpenGLFont font ) : Font
font OpenGLFont The OpenGLFont.
return System.Drawing.Font

DisplayLastError() public static method

Displays the last error.
public static DisplayLastError ( ) : void
return void

GetLastError() public static method

Gets the last error.
public static GetLastError ( ) : OpenGLError
return OpenGLError

ThrowLastError() public static method

Throws the last error.
public static ThrowLastError ( ) : void
return void