mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
815 B
815 B
SharedTextureTransfer Object
transferstring Readonly - The opaque transfer data of the shared texture. This can be transferred across Electron processes.syncTokenstring Readonly - The opaque sync token data for frame creation.pixelFormatstring Readonly - The pixel format of the transferring texture.codedSizeSize Readonly - The full dimensions of the shared texture.visibleRectRectangle Readonly - A subsection of [0, 0, codedSize.width(), codedSize.height()]. In common cases, it is the full section area.timestampnumber Readonly - A timestamp in microseconds that will be reflected toVideoFrame.
Use sharedTexture.subtle.finishTransferSharedTexture to get SharedTextureImportedSubtle back.