Język

GLSurfaceView.SetEGLContextFactory(GLSurfaceView+IEGLContextFactory) Method

Definition

Install a custom EGLContextFactory.

[Android.Runtime.Register("setEGLContextFactory", "(Landroid/opengl/GLSurfaceView$EGLContextFactory;)V", "GetSetEGLContextFactory_Landroid_opengl_GLSurfaceView_EGLContextFactory_Handler")]
public virtual void SetEGLContextFactory(Android.Opengl.GLSurfaceView.IEGLContextFactory? factory);
[<Android.Runtime.Register("setEGLContextFactory", "(Landroid/opengl/GLSurfaceView$EGLContextFactory;)V", "GetSetEGLContextFactory_Landroid_opengl_GLSurfaceView_EGLContextFactory_Handler")>]
abstract member SetEGLContextFactory : Android.Opengl.GLSurfaceView.IEGLContextFactory -> unit
override this.SetEGLContextFactory : Android.Opengl.GLSurfaceView.IEGLContextFactory -> unit

Parameters

factory
GLSurfaceView.IEGLContextFactory

The factory used to create and release the view's EGL rendering contexts.

Attributes

Remarks

Java documentation for android.opengl.GLSurfaceView.setEGLContextFactory(android.opengl.EGLContextFactory).

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