Header menu logo fable-electron-docs-api

NativePixmap Type

Constructors

Constructor Description

NativePixmap(planes, modifier, supportsZeroCopyWebGpuImport)

Full Usage: NativePixmap(planes, modifier, supportsZeroCopyWebGpuImport)

Parameters:
    planes : Planes[] - ⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || Each plane's info of the shared texture.
    modifier : string - ⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || The modifier is retrieved from GBM library and passed to EGL driver.
    supportsZeroCopyWebGpuImport : bool - ⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || Indicates whether supports zero copy import to WebGPU.

Returns: NativePixmap
planes : Planes[]

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || Each plane's info of the shared texture.

modifier : string

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || The modifier is retrieved from GBM library and passed to EGL driver.

supportsZeroCopyWebGpuImport : bool

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || Indicates whether supports zero copy import to WebGPU.

Returns: NativePixmap

Instance members

Instance member Description

this.modifier

Full Usage: this.modifier

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ The modifier is retrieved from GBM library and passed to EGL driver.

this.planes

Full Usage: this.planes

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ Each plane's info of the shared texture.

this.supportsZeroCopyWebGpuImport

Full Usage: this.supportsZeroCopyWebGpuImport

⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ Indicates whether supports zero copy import to WebGPU.

Type something to start searching.