Language

PixelFormat.GetPixelFormatInfo(Format, PixelFormat) Method

Definition

Writes the selected format's byte and bit counts into an existing object.

[Android.Runtime.Register("getPixelFormatInfo", "(ILandroid/graphics/PixelFormat;)V", "")]
public static void GetPixelFormatInfo(Android.Graphics.Format format, Android.Graphics.PixelFormat? info);
[<Android.Runtime.Register("getPixelFormatInfo", "(ILandroid/graphics/PixelFormat;)V", "")>]
static member GetPixelFormatInfo : Android.Graphics.Format * Android.Graphics.PixelFormat -> unit

Parameters

format
Format

Value is one of the following: RGBA_8888; RGBX_8888; RGBA_F16; RGBA_1010102; RGB_888; RGB_565

info
PixelFormat

The existing object that receives the format's byte and bit counts.

Attributes

Remarks

Android reference for android.graphics.PixelFormat.getPixelFormatInfo.

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