GLSurfaceView 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| GLSurfaceView(Context) | 
						 标准视图构造函数。  | 
        	
| GLSurfaceView(Context, IAttributeSet) | 
						 标准视图构造函数。  | 
        	
| GLSurfaceView(IntPtr, JniHandleOwnership) | 
						 创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。  | 
        	
GLSurfaceView(Context)
标准视图构造函数。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public GLSurfaceView(Android.Content.Context? context);
	[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Opengl.GLSurfaceView : Android.Content.Context -> Android.Opengl.GLSurfaceView
	参数
- context
 - Context
 
- 属性
 
注解
标准视图构造函数。 若要呈现某些内容,必须调用 #setRenderer 以注册呈现器。
适用于 . 的 android.opengl.GLSurfaceView.GLSurfaceView(android.content.Context)Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
GLSurfaceView(Context, IAttributeSet)
标准视图构造函数。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public GLSurfaceView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
	[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Opengl.GLSurfaceView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Opengl.GLSurfaceView
	参数
- context
 - Context
 
- attrs
 - IAttributeSet
 
- 属性
 
注解
标准视图构造函数。 若要呈现某些内容,必须调用 #setRenderer 以注册呈现器。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
GLSurfaceView(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected GLSurfaceView(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
	new Android.Opengl.GLSurfaceView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Opengl.GLSurfaceView
	参数
- transfer
 - JniHandleOwnership
 
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。