ETC1.DecodeBlock(Buffer, Buffer) Method

Definition

Decode a block of pixels.

[Android.Runtime.Register("decodeBlock", "(Ljava/nio/Buffer;Ljava/nio/Buffer;)V", "")]
public static void DecodeBlock (Java.Nio.Buffer? in, Java.Nio.Buffer? out);
[<Android.Runtime.Register("decodeBlock", "(Ljava/nio/Buffer;Ljava/nio/Buffer;)V", "")>]
static member DecodeBlock : Java.Nio.Buffer * Java.Nio.Buffer -> unit

Parameters

in
Buffer

a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the ETC1 compressed version of the data.

out
Buffer

a native order direct buffer of size DECODED_BLOCK_SIZE that will receive the decoded data. The data represents a 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R value of pixel (x, y).

Attributes

Remarks

Decode a block of pixels.

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

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