Files
electron/docs/api/structures/shared-texture-transfer.md
2025-11-07 09:50:28 +01:00

815 B

SharedTextureTransfer Object

  • transfer string Readonly - The opaque transfer data of the shared texture. This can be transferred across Electron processes.
  • syncToken string Readonly - The opaque sync token data for frame creation.
  • pixelFormat string Readonly - The pixel format of the transferring texture.
  • codedSize Size Readonly - The full dimensions of the shared texture.
  • visibleRect Rectangle Readonly - A subsection of [0, 0, codedSize.width(), codedSize.height()]. In common cases, it is the full section area.
  • timestamp number Readonly - A timestamp in microseconds that will be reflected to VideoFrame.

Use sharedTexture.subtle.finishTransferSharedTexture to get SharedTextureImportedSubtle back.