C# Class Glare.Graphics.Context

Show file Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
CheckError ( ) : void
CheckError ( ErrorCode code ) : void
Context ( IGraphicsContext context, IWindowInfo window ) : System
MakeCurrent ( ) : bool

Private Methods

Method Description
CheckVersion ( int major, int minor, int revision ) : bool
Context ( ) : System
IsEnabled ( EnableCap cap ) : bool
Lock ( ) : ContextLock
RequireVersion ( int major, int minor ) : void
SetEnabled ( EnableCap cap, bool value ) : void

Method Details

CheckError() public static method

public static CheckError ( ) : void
return void

CheckError() public static method

public static CheckError ( ErrorCode code ) : void
code ErrorCode
return void

Context() public method

public Context ( IGraphicsContext context, IWindowInfo window ) : System
context IGraphicsContext
window IWindowInfo
return System

MakeCurrent() public method

public MakeCurrent ( ) : bool
return bool