NativeSurface

actual class NativeSurface

Android implementation of NativeSurface: surface must be an android.view.Surface.

expect class NativeSurface

A platform-agnostic representation of a display surface.

This opaque type encapsulates platform-specific surface details and is used to associate a rendering context with a display surface.

actual class NativeSurface

JVM implementation of NativeSurface: a raw native window/layer pointer (HWND, X11 Window, NSView*, CAMetalLayer*) as a Long or Int address, handed to FilaEngine_createSwapChain as a void*.

actual class NativeSurface

Native implementation of NativeSurface, wrapping a raw pointer.

actual class NativeSurface

On web a swap chain renders to its engine's WebGL canvas; canvas names which one.

Constructors

Link copied to clipboard
constructor(surface: Any)
constructor(nativeWindow: Any)
constructor(handler: COpaquePointer?)
constructor(canvas: HTMLCanvasElement)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard