NativePixmap Type
Constructors
| Constructor |
Description
|
Full Usage:
NativePixmap(planes, modifier, supportsZeroCopyWebGpuImport)
Parameters:
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
|
Full Usage:
this.modifier
|
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ The modifier is retrieved from GBM library and passed to EGL driver. |
Full Usage:
this.planes
|
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ Each plane's info of the shared texture. |
Full Usage:
this.supportsZeroCopyWebGpuImport
|
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ Indicates whether supports zero copy import to WebGPU. |
fable-electron-docs-api