Freigeben über


GLSurfaceView.IEGLWindowSurfaceFactory.CreateWindowSurface Method

Definition

[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
display
EGLDisplay
config
EGLConfig
nativeWindow
Object

Returns

null if the surface cannot be constructed.

Attributes

Remarks

Java documentation for android.opengl.GLSurfaceView.EGLWindowSurfaceFactory.createWindowSurface(javax.microedition.khronos.egl.EGL10, javax.microedition.khronos.egl.EGLDisplay, javax.microedition.khronos.egl.EGLConfig, java.lang.Object).

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