Table of Contents

Interface IEngineApplication

Namespace
TileWorld.Engine.Hosting
Assembly
TileWorld.Engine.dll

Defines the host-facing lifecycle contract for an engine application.

public interface IEngineApplication

Methods

Initialize()

Initializes the application and any owned engine systems.

void Initialize()

Render(IRenderContext)

Draws the current frame into the supplied render context.

void Render(IRenderContext renderContext)

Parameters

renderContext IRenderContext

The render context exposed by the active host backend.

Shutdown()

Shuts the application down and releases owned resources.

void Shutdown()

Update(FrameTime, FrameInput)

Advances application state for one frame.

void Update(FrameTime frameTime, FrameInput input)

Parameters

frameTime FrameTime

The frame timing snapshot supplied by the active host.

input FrameInput

The input snapshot for the current frame.