Table of Contents

Interface ILunyEngineNativeAdapter

Namespace
Luny
/
Assembly
Luny.dll

Interface for the native engine adapter.

public interface ILunyEngineNativeAdapter
Expand Details ...

Fields

IsApplicationQuitting

public static bool IsApplicationQuitting

Field Value

bool

Properties

Engine

NativeEngine Engine { get; }

Property Value

NativeEngine

Methods

CreateEngine(ref ILunyEngineNativeAdapter, ILunyEngineNativeAdapter)

public static ILunyEngineLifecycle CreateEngine(ref ILunyEngineNativeAdapter nativeAdapterSingleton, ILunyEngineNativeAdapter nativeAdapter)

Parameters

Type Name Description
ILunyEngineNativeAdapter
nativeAdapterSingleton
ILunyEngineNativeAdapter
nativeAdapter

Returns

ILunyEngineLifecycle

EndLogging()

public static void EndLogging()

FrameLateUpdate(ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void FrameLateUpdate(ILunyEngineNativeAdapter nativeAdapter, ILunyEngineLifecycle lunyEngine)

Parameters

Type Name Description
ILunyEngineNativeAdapter
nativeAdapter
ILunyEngineLifecycle
lunyEngine

FrameUpdate(double, ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void FrameUpdate(double deltaTime, ILunyEngineNativeAdapter nativeAdapter, ILunyEngineLifecycle lunyEngine)

Parameters

Type Name Description
double
deltaTime
ILunyEngineNativeAdapter
nativeAdapter
ILunyEngineLifecycle
lunyEngine

Heartbeat(double, ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void Heartbeat(double fixedDeltaTime, ILunyEngineNativeAdapter nativeAdapter, ILunyEngineLifecycle lunyEngine)

Parameters

Type Name Description
double
fixedDeltaTime
ILunyEngineNativeAdapter
nativeAdapter
ILunyEngineLifecycle
lunyEngine

Shutdown(ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void Shutdown(ILunyEngineNativeAdapter adapter, ILunyEngineLifecycle lunyEngineInternal)

Parameters

Type Name Description
ILunyEngineNativeAdapter
adapter
ILunyEngineLifecycle
lunyEngineInternal

ShutdownComplete(ILunyEngineNativeAdapter)

public static void ShutdownComplete(ILunyEngineNativeAdapter adapter)

Parameters

Type Name Description
ILunyEngineNativeAdapter
adapter

Startup(ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void Startup(ILunyEngineNativeAdapter nativeAdapter, ILunyEngineLifecycle lunyEngineInternal)

Parameters

Type Name Description
ILunyEngineNativeAdapter
nativeAdapter
ILunyEngineLifecycle
lunyEngineInternal

ThrowIfAdapterNull(ILunyEngineNativeAdapter)

public static void ThrowIfAdapterNull(ILunyEngineNativeAdapter adapter)

Parameters

Type Name Description
ILunyEngineNativeAdapter
adapter

ThrowIfLunyEngineNull(ILunyEngineLifecycle)

public static void ThrowIfLunyEngineNull(ILunyEngineLifecycle lunyEngineInternal)

Parameters

Type Name Description
ILunyEngineLifecycle
lunyEngineInternal

ThrowIfPrematurelyRemoved(ILunyEngineNativeAdapter, ILunyEngineLifecycle)

public static void ThrowIfPrematurelyRemoved(ILunyEngineNativeAdapter adapter, ILunyEngineLifecycle lunyEngineInternal)

Parameters

Type Name Description
ILunyEngineNativeAdapter
adapter
ILunyEngineLifecycle
lunyEngineInternal

ValidateAdapterSingletonInstance(ILunyEngineNativeAdapter, ILunyEngineNativeAdapter)

public static ILunyEngineNativeAdapter ValidateAdapterSingletonInstance(ILunyEngineNativeAdapter existingInstance, ILunyEngineNativeAdapter nativeAdapter)

Parameters

Type Name Description
ILunyEngineNativeAdapter
existingInstance
ILunyEngineNativeAdapter
nativeAdapter

Returns

ILunyEngineNativeAdapter