GLTextureView.OnSurfaceTextureDestroyed(SurfaceTexture) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when the specified texture is about to be destroyed.
public bool OnSurfaceTextureDestroyed(Android.Graphics.SurfaceTexture surface);
Parameters
- surface
- SurfaceTexture
The surface texture.
Returns
Returns true if no rendering should happen inside the surface texture after this method is invoked, otherwise false if the client needs to call Android.Graphics.SurfaceTexture.Release. Most applications should return true.