getVideoFrame

abstract var getVideoFrame: () -> VideoFrame(source)

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.