Share via


SurfaceTexture.UpdateTexImage Method

Definition

Update the texture image to the most recent frame from the image stream.

[Android.Runtime.Register("updateTexImage", "()V", "GetUpdateTexImageHandler")]
public virtual void UpdateTexImage ();
[<Android.Runtime.Register("updateTexImage", "()V", "GetUpdateTexImageHandler")>]
abstract member UpdateTexImage : unit -> unit
override this.UpdateTexImage : unit -> unit
Attributes

Remarks

Update the texture image to the most recent frame from the image stream. This may only be called while the OpenGL ES context that owns the texture is current on the calling thread. It will implicitly bind its texture to the GL_TEXTURE_EXTERNAL_OES texture target.

Java documentation for android.graphics.SurfaceTexture.updateTexImage().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to