SharedTextureImportedSubtle
Properties
This method is for advanced users. If used, it is typically called after finishTransferSharedTexture, and should be passed to the object which was called startTransferSharedTexture to prevent the source object release the underlying resource before the target object actually acquire the reference at gpu process asyncly.
Create a VideoFrame that uses the imported shared texture in the current process. You can call VideoFrame.close() once you've finished using the object. The underlying resources will wait for GPU finish internally.
This method is for advanced users. If used, this object's underlying resource will not be released until the set sync token is fulfilled at gpu process. By using sync tokens, users are not required to use release callbacks for lifetime management.
Create a SharedTextureTransfer that can be serialized and transferred to other processes.