C# Class FireflyGL.Firefly

Exibir arquivo Open project: LukaHorvat/Kento

Public Methods

Method Description
AddToRenderList ( IRenderable Renderable ) : void
AddToUpdateList ( IUpdatable Updatable ) : void
ForceKill ( ) : void
Initialize ( int Width, int Height, string Title, OnLoadHandler LoadHandler, bool UseOGL3 = false ) : void
Kill ( ) : void
RemoveEntity ( object Entity ) : void
RemoveFromRenderList ( IRenderable Renderable ) : void
RemoveFromUpdateList ( IUpdatable Updatable ) : void

Private Methods

Method Description
mainLoop ( object sender, EventArgs e ) : void
render ( ) : void
setupOpenGL ( ) : void
update ( ) : void

Method Details

AddToRenderList() public static method

public static AddToRenderList ( IRenderable Renderable ) : void
Renderable IRenderable
return void

AddToUpdateList() public static method

public static AddToUpdateList ( IUpdatable Updatable ) : void
Updatable IUpdatable
return void

ForceKill() public static method

public static ForceKill ( ) : void
return void

Initialize() public static method

public static Initialize ( int Width, int Height, string Title, OnLoadHandler LoadHandler, bool UseOGL3 = false ) : void
Width int
Height int
Title string
LoadHandler OnLoadHandler
UseOGL3 bool
return void

Kill() public static method

public static Kill ( ) : void
return void

RemoveEntity() public static method

public static RemoveEntity ( object Entity ) : void
Entity object
return void

RemoveFromRenderList() public static method

public static RemoveFromRenderList ( IRenderable Renderable ) : void
Renderable IRenderable
return void

RemoveFromUpdateList() public static method

public static RemoveFromUpdateList ( IUpdatable Updatable ) : void
Updatable IUpdatable
return void