다음을 통해 공유


ETC1.GetWidth(Buffer) Method

Definition

Read the image width from a PKM header

[Android.Runtime.Register("getWidth", "(Ljava/nio/Buffer;)I", "")]
public static int GetWidth (Java.Nio.Buffer? header);
[<Android.Runtime.Register("getWidth", "(Ljava/nio/Buffer;)I", "")>]
static member GetWidth : Java.Nio.Buffer -> int

Parameters

header
Buffer

native order direct buffer of the header.

Returns

Attributes

Remarks

Read the image width from a PKM header

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