Image(Buffer, Int32, Int32, Int32, Int32, Buffer)
ETC1.Encode Image(Buffer, Int32, Int32, Int32, Int32, Buffer)
Encode an entire image.
[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);
static member EncodeImage : Java.Nio.Buffer * int * int * int * int * Java.Nio.Buffer -> unit
a native order direct buffer of the image data. Formatted such that pixel (x,y) is at pIn + pixelSize * x + stride * y;
must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
a native order direct buffer of the encoded data. Must be large enough to store entire encoded image.