sharedContext

actual fun sharedContext(sharedContext: Any): Engine.Builder

Share a platform-specific rendering context with the Engine.

This is useful for rendering to multiple windows or integrating with existing rendering systems.

Return

This Builder, for chaining calls.

Parameters

sharedContext

Platform-specific context object (e.g., EGLContext on Android).

expect fun sharedContext(sharedContext: Any): Engine.Builder

Share a platform-specific rendering context with the Engine.

This is useful for rendering to multiple windows or integrating with existing rendering systems.

Return

This Builder, for chaining calls.

Parameters

sharedContext

Platform-specific context object (e.g., EGLContext on Android).

actual fun sharedContext(sharedContext: Any): Engine.Builder

Share a platform-specific rendering context with the Engine.

This is useful for rendering to multiple windows or integrating with existing rendering systems.

Return

This Builder, for chaining calls.

Parameters

sharedContext

Platform-specific context object (e.g., EGLContext on Android).

actual fun sharedContext(sharedContext: Any): Engine.Builder

Share a platform-specific rendering context with the Engine.

This is useful for rendering to multiple windows or integrating with existing rendering systems.

Return

This Builder, for chaining calls.

Parameters

sharedContext

Platform-specific context object (e.g., EGLContext on Android).

actual fun sharedContext(sharedContext: Any): Engine.Builder

Share a platform-specific rendering context with the Engine.

This is useful for rendering to multiple windows or integrating with existing rendering systems.

Return

This Builder, for chaining calls.

Parameters

sharedContext

Platform-specific context object (e.g., EGLContext on Android).