Android Guides | Samples

Android.Opengl.ETC1Util Class

Utility methods for using ETC1 compressed textures.

See Also: ETC1Util

Syntax

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

Remarks

Utility methods for using ETC1 compressed textures.

[Android Documentation]

Requirements

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

The members of Android.Opengl.ETC1Util 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 Properties

[read-only]
static
IsETC1SupportedBoolean. Check if ETC1 texture compression is supported by the active OpenGL ES context.

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
CompressTexture(Buffer, Int32, Int32, Int32, Int32) : ETC1Util+ETC1Texture
Helper function that compresses an image into an ETC1Texture.
static
CreateTexture(Stream) : ETC1Util+ETC1Texture
Create a new ETC1Texture from an input stream containing a PKM formatted compressed texture.
static
LoadTexture(Int32, Int32, Int32, Int32, Int32, ETC1Util+ETC1Texture)
Convenience method to load an ETC1 texture whether or not the active OpenGL context supports the ETC1 texture compression format.
static
LoadTexture(Int32, Int32, Int32, Int32, Int32, Stream)
Convenience method to load an ETC1 texture whether or not the active OpenGL context supports the ETC1 texture compression format.
static
WriteTexture(ETC1Util+ETC1Texture, Stream)
Helper function that writes an ETC1Texture to an output stream formatted as a PKM file.