Skip to content

Instantly share code, notes, and snippets.

@mfkl
Created April 7, 2020 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfkl/4d2f26aff28ccc54980db32f6bbc92e7 to your computer and use it in GitHub Desktop.
Save mfkl/4d2f26aff28ccc54980db32f6bbc92e7 to your computer and use it in GitHub Desktop.
/// <summary>
/// Retrieve a video frame from the Unity plugin as a texture.
/// </summary>
/// <param name="updated">True if the video frame has been updated</param>
/// <returns>A decoded texture</returns>
public IntPtr GetTexture(out bool updated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment