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.
Markdown source: View on AtomGit·Content from the open-source project el/electron