Android Guides | Samples

Android.Opengl.GLDebugHelper Class

A helper class for debugging OpenGL ES applications.

See Also: GLDebugHelper

Syntax

[Android.Runtime.Register("android/opengl/GLDebugHelper", DoNotGenerateAcw=true)]
public class GLDebugHelper : Object

Remarks

A helper class for debugging OpenGL ES applications. Wraps the supplied GL interface with a new GL interface that adds support for error checking and logging.

[Android Documentation]

Requirements

Namespace: Android.Opengl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Opengl.GLDebugHelper are listed below.

See Also: Object

Public Constructors

Protected Constructors

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

Public Fields

const
ConfigCheckGlErrorGLDebugConfig (1). Check glError() after every call.
const
ConfigCheckThreadGLDebugConfig (2). Check if all calls are on the same thread.
const
ConfigLogArgumentNamesGLDebugConfig (4). Print argument names when logging GL Calls.
const
ErrorWrongThreadInt32 (28672). The Error number used in the GLException that is thrown if CONFIG_CHECK_THREAD is enabled and you call OpenGL ES on the a different thread.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Wrap(IEGL, Int32, Writer) : IEGL
Wrap an existing EGL interface in a new EGL interface that adds support for error checking and/or logging.
static
Wrap(IGL, Int32, Writer) : IGL