SendSharedTextureOptions

external interface SendSharedTextureOptions(source)

Properties

Link copied to clipboard
abstract var frame: WebFrameMain

The target frame to transfer the shared texture to. For WebContents, you can pass webContents.mainFrame. If you provide a webFrameMain that is not a main frame, you'll need to enable webPreferences.nodeIntegrationInSubFrames for this, since this feature requires IPC between main and the frame.

Link copied to clipboard

The imported shared texture.