Android.Graphics.SurfaceTexture: Method Members

The methods of Android.Graphics.SurfaceTexture are listed below. For a list of all members, see the SurfaceTexture Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AttachToGLContext(int)
Attach the SurfaceTexture to the OpenGL ES context that is current on the calling thread.
DetachFromGLContext()
Detach the SurfaceTexture from the OpenGL ES context that owns the OpenGL ES texture object.
GetTransformMatrix(float[])
Retrieve the 4x4 texture coordinate transform matrix associated with the texture image set by the most recent call to updateTexImage.
Release()
release() frees all the buffers and puts the SurfaceTexture into the 'abandoned' state.
ReleaseTexImage()
Releases the the texture content.
SetDefaultBufferSize(int, int)
Set the default size of the image buffers.
SetOnFrameAvailableListener(SurfaceTexture.IOnFrameAvailableListener)
Register a callback to be invoked when a new image frame becomes available to the SurfaceTexture.
SetOnFrameAvailableListener(SurfaceTexture.IOnFrameAvailableListener, Android.OS.Handler)
Register a callback to be invoked when a new image frame becomes available to the SurfaceTexture.
UpdateTexImage()
Update the texture image to the most recent frame from the image stream.