mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
758 B
758 B
SharedTextureImported Object
textureIdstring - The unique identifier of the imported shared texture.getVideoFrameFunction<VideoFrame> - Create aVideoFramethat uses the imported shared texture in the current process. You can callVideoFrame.close()once you've finished using the object. The underlying resources will wait for GPU finish internally.releaseFunction - Release this object's reference of the imported shared texture. The underlying resource will be alive until every reference is released.subtleSharedTextureImportedSubtle - Provides subtle APIs to interact with the imported shared texture for advanced users.