GLSurfaceView.IEGLWindowSurfaceFactory.CreateWindowSurface 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 to create an EGL window surface for the view.
[Android.Runtime.Register("createWindowSurface", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;Ljava/lang/Object;)Ljavax/microedition/khronos/egl/EGLSurface;", "GetCreateWindowSurface_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Ljavax_microedition_khronos_egl_EGLConfig_Ljava_lang_Object_Handler:Android.Opengl.GLSurfaceView/IEGLWindowSurfaceFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Javax.Microedition.Khronos.Egl.EGLSurface? CreateWindowSurface(Javax.Microedition.Khronos.Egl.IEGL10? egl, Javax.Microedition.Khronos.Egl.EGLDisplay? display, Javax.Microedition.Khronos.Egl.EGLConfig? config, Java.Lang.Object? nativeWindow);
[<Android.Runtime.Register("createWindowSurface", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;Ljava/lang/Object;)Ljavax/microedition/khronos/egl/EGLSurface;", "GetCreateWindowSurface_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Ljavax_microedition_khronos_egl_EGLConfig_Ljava_lang_Object_Handler:Android.Opengl.GLSurfaceView/IEGLWindowSurfaceFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateWindowSurface : Javax.Microedition.Khronos.Egl.IEGL10 * Javax.Microedition.Khronos.Egl.EGLDisplay * Javax.Microedition.Khronos.Egl.EGLConfig * Java.Lang.Object -> Javax.Microedition.Khronos.Egl.EGLSurface
Parameters
- egl
- IEGL10
The EGL10 interface used for window-surface operations.
- display
- EGLDisplay
The initialized EGL display selected for the view.
- config
- EGLConfig
The framebuffer configuration selected for the view's rendering context and surface.
- nativeWindow
- Object
The native-window object; GLSurfaceView supplies its surface holder.
Returns
null if the surface cannot be constructed.
- 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.