OffscreenSharedTexture Type
Constructors
| Constructor |
Description
|
Full Usage:
OffscreenSharedTexture(textureInfo, release)
Parameters:
TextureInfo
-
The shared texture info.
release : unit -> unit
-
Release the resources. The texture cannot be directly passed to another process, users need to maintain texture lifecycles in
main process, but it is safe to pass the textureInfo to another process. Only a limited number of textures can
exist at the same time, so it's important that you call texture.release() as soon as you're done with the texture.
Returns: OffscreenSharedTexture
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.release
|
Release the resources. The texture cannot be directly passed to another process, users need to maintain texture lifecycles in main process, but it is safe to pass the textureInfo to another process. Only a limited number of textures can exist at the same time, so it's important that you call texture.release() as soon as you're done with the texture. |
Full Usage:
this.textureInfo
|
The shared texture info. |
fable-electron-docs-api