TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IApplicationControl in Tinman.AddOns.Application

interface IApplicationControl  

Attributes

Application

Gets or sets the application that is run in this application control.

[OwnerValue]
property Application { get set }
type IApplication
value The application to run.

ContextFactory

The graphics context factory to use.

property ContextFactory { get set }
type IGraphicsContextFactory
value The graphics context factory.

Remarks:

Setting the context factory to null will reset the application control (see ResetApplication).

Changing the context factory while an application is running will change the graphics context of the application (see GraphicsContextDetach and GraphicsContextAttach).

Methods

CloseApplication

Calls Closing on the window of the application.

method CloseApplication ()

ResetApplication

Resets this application control by disposing the application and the running loop (if present).

method ResetApplication ()