Companion

actual object Companion
expect object Companion
actual object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
actual fun create(): Engine

Create an Engine with the platform's optimal backend (usually Vulkan or Metal).

actual fun create(backend: Engine.Backend): Engine

Create an Engine with a specific rendering backend.

actual fun create(sharedContext: Any): Engine

Create an Engine sharing a platform-specific rendering context.

expect fun create(): Engine

Create an Engine with the platform's optimal backend (usually Vulkan or Metal).

expect fun create(backend: Engine.Backend): Engine

Create an Engine with a specific rendering backend.

expect fun create(sharedContext: Any): Engine

Create an Engine sharing a platform-specific rendering context.

actual fun create(): Engine

Create an Engine with the platform's optimal backend (usually Vulkan or Metal).

actual fun create(backend: Engine.Backend): Engine

Create an Engine with a specific rendering backend.

actual fun create(sharedContext: Any): Engine

Create an Engine sharing a platform-specific rendering context.

actual fun create(): Engine

Create an Engine with the platform's optimal backend (usually Vulkan or Metal).

actual fun create(backend: Engine.Backend): Engine

Create an Engine with a specific rendering backend.

actual fun create(sharedContext: Any): Engine

Create an Engine sharing a platform-specific rendering context.

actual fun create(): Engine

Create an Engine with the platform's optimal backend (usually Vulkan or Metal).

actual fun create(backend: Engine.Backend): Engine

Create an Engine with a specific rendering backend.

actual fun create(sharedContext: Any): Engine

Create an Engine sharing a platform-specific rendering context.

Link copied to clipboard

Get the current steady clock time in nanoseconds.

Get the current steady clock time in nanoseconds.

Get the current steady clock time in nanoseconds.

Get the current steady clock time in nanoseconds.

Get the current steady clock time in nanoseconds.