Share via


GLException Constructors

Definition

Overloads

GLException(Int32)
GLException(Int32, String)
GLException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

GLException(Int32)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public GLException (int error);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Opengl.GLException : int -> Android.Opengl.GLException

Parameters

error
Int32
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.

Applies to

GLException(Int32, String)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")]
public GLException (int error, string? string);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")>]
new Android.Opengl.GLException : int * string -> Android.Opengl.GLException

Parameters

error
Int32
string
String
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.

Applies to

GLException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected GLException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Opengl.GLException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Opengl.GLException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to