C# Class SFML.Window.Context

This class defines a .NET interface to an SFML OpenGL Context
Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject
Exibir arquivo Open project: SFML/SFML.Net

Public Methods

Method Description
Context ( ) : System

Default constructor

SetActive ( bool active ) : bool

Activate or deactivate the context

ToString ( ) : string

Provide a string describing the object

Private Methods

Method Description
sfContext_create ( ) : IntPtr
sfContext_destroy ( IntPtr View ) : void
sfContext_getSettings ( IntPtr View ) : ContextSettings
sfContext_setActive ( IntPtr View, bool Active ) : bool

Method Details

Context() public method

Default constructor
public Context ( ) : System
return System

SetActive() public method

Activate or deactivate the context
public SetActive ( bool active ) : bool
active bool True to activate, false to deactivate
return bool

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string