ETC1.DecodeImage(Buffer, Buffer, Int32, Int32, Int32, Int32) Method

Definition

Decode an entire image.

[Android.Runtime.Register("decodeImage", "(Ljava/nio/Buffer;Ljava/nio/Buffer;IIII)V", "")]
public static void DecodeImage (Java.Nio.Buffer? in, Java.Nio.Buffer? out, int width, int height, int pixelSize, int stride);
[<Android.Runtime.Register("decodeImage", "(Ljava/nio/Buffer;Ljava/nio/Buffer;IIII)V", "")>]
static member DecodeImage : Java.Nio.Buffer * Java.Nio.Buffer * int * int * int * int -> unit

Parameters

in
Buffer

native order direct buffer of the encoded data.

out
Buffer

native order direct buffer of the image data. Will be written such that pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be large enough to store entire image.

width
Int32
height
Int32
pixelSize
Int32

must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.

stride
Int32
Attributes

Remarks

Decode an entire image.

Java documentation for android.opengl.ETC1.decodeImage(java.nio.Buffer, java.nio.Buffer, int, int, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to