Android Guides | Samples

Android.Opengl.GLUtils Class

Utility class to help bridging OpenGL ES and Android APIs.

See Also: GLUtils

Syntax

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

Remarks

Utility class to help bridging OpenGL ES and Android APIs.

[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.GLUtils are listed below.

See Also: Object

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
GetEGLErrorString(Int32) : String
Return a string for the EGL error code, or the hex representation if the error is unknown.
static
GetInternalFormat(Bitmap) : Int32
return the internal format as defined by OpenGL ES of the supplied bitmap.
static
GetType(Bitmap) : Int32
Return the type as defined by OpenGL ES of the supplied bitmap, if there is one.
static
TexImage2D(Int32, Int32, Bitmap, Int32)
A version of texImage2D that determines the internalFormat and type automatically.
static
TexImage2D(Int32, Int32, Int32, Bitmap, Int32)
Calls glTexImage2D() on the current OpenGL context.
static
TexImage2D(Int32, Int32, Int32, Bitmap, Int32, Int32)
A version of texImage2D() that takes an explicit type parameter as defined by the OpenGL ES specification.
static
TexSubImage2D(Int32, Int32, Int32, Int32, Bitmap)
Calls glTexSubImage2D() on the current OpenGL context.
static
TexSubImage2D(Int32, Int32, Int32, Int32, Bitmap, Int32, Int32)
A version of texSubImage2D() that takes an explicit type parameter as defined by the OpenGL ES specification.