sendSharedTexture
abstract fun sendSharedTexture(options: SendSharedTextureOptions, vararg args: Any?): Promise<Void>(source)
Send the imported shared texture to a renderer process. You must register a receiver at renderer process before calling this method. This method has a 1000ms timeout. Ensure the receiver is set and the renderer process is alive before calling this method.
!NOTE This method is only available in the main process.
Resolves when the transfer is complete.