GLSurfaceView.IEGLContextFactory.DestroyContext 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.
Called when the rendering thread releases its EGL context.
[Android.Runtime.Register("destroyContext", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLContext;)V", "GetDestroyContext_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Ljavax_microedition_khronos_egl_EGLContext_Handler:Android.Opengl.GLSurfaceView/IEGLContextFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void DestroyContext(Javax.Microedition.Khronos.Egl.IEGL10? egl, Javax.Microedition.Khronos.Egl.EGLDisplay? display, Javax.Microedition.Khronos.Egl.EGLContext? context);
[<Android.Runtime.Register("destroyContext", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLContext;)V", "GetDestroyContext_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Ljavax_microedition_khronos_egl_EGLContext_Handler:Android.Opengl.GLSurfaceView/IEGLContextFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DestroyContext : Javax.Microedition.Khronos.Egl.IEGL10 * Javax.Microedition.Khronos.Egl.EGLDisplay * Javax.Microedition.Khronos.Egl.EGLContext -> unit
Parameters
- egl
- IEGL10
The EGL10 interface used for context cleanup.
- display
- EGLDisplay
The EGL display associated with the context being released.
- context
- EGLContext
The EGL context being released by the rendering thread.
- Attributes
Remarks
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.