Taal

ETC1.IsValid(Buffer) Method

Definition

Check if a PKM header is correctly formatted.

[Android.Runtime.Register("isValid", "(Ljava/nio/Buffer;)Z", "")]
public static bool IsValid(Java.Nio.Buffer? header);
[<Android.Runtime.Register("isValid", "(Ljava/nio/Buffer;)Z", "")>]
static member IsValid : Java.Nio.Buffer -> bool

Parameters

header
Buffer

native order direct buffer of the header.

Returns

true if the PKM header passes the codec's magic, format, and dimension-consistency checks; otherwise, false.

Attributes

Remarks

Check if a PKM header is correctly formatted.

Java documentation for android.opengl.ETC1.isValid(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