Android.Opengl.ETC1.EncodeImage Method
Encode an entire image.

Syntax

[Android.Runtime.Register("encodeImage", "(Ljava/nio/Buffer;IIIILjava/nio/Buffer;)V", "")]
public static void EncodeImage (Java.Nio.Buffer in, int width, int height, int pixelSize, int stride, Java.Nio.Buffer out)

Parameters

in
a native order direct buffer of the image data. Formatted such that pixel (x,y) is at pIn + pixelSize * x + stride * y;
width
Documentation for this section has not yet been entered.
height
Documentation for this section has not yet been entered.
pixelSize
must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
stride
Documentation for this section has not yet been entered.
out
a native order direct buffer of the encoded data. Must be large enough to store entire encoded image.

Remarks

Encode an entire image.

[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