次の方法で共有


GLSurfaceView.DebugCheckGlError Field

Definition

Caution

This constant will be removed in the future version. Use Android.Opengl.DebugFlags enum directly instead of this field.

Check glError() after every GL call and throw an exception if glError indicates that an error has occurred.

[Android.Runtime.Register("DEBUG_CHECK_GL_ERROR")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Opengl.DebugFlags enum directly instead of this field.", true)]
public const Android.Opengl.DebugFlags DebugCheckGlError = 1;
[<Android.Runtime.Register("DEBUG_CHECK_GL_ERROR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Opengl.DebugFlags enum directly instead of this field.", true)>]
val mutable DebugCheckGlError : Android.Opengl.DebugFlags

Field Value

Value = 1

Implements

Android.Views.ISurfaceHolderCallback2._members Android.Views.ISurfaceHolderCallback2.cb_surfaceRedrawNeededAsync_Landroid_view_SurfaceHolder_Ljava_lang_Runnable_
Attributes

Remarks

Check glError() after every GL call and throw an exception if glError indicates that an error has occurred. This can be used to help track down which OpenGL ES call is causing an error.

Java documentation for android.opengl.GLSurfaceView.DEBUG_CHECK_GL_ERROR.

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

See also