GLUtils.GetType(Bitmap) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the type as defined by OpenGL ES of the supplied bitmap, if there is one.
[Android.Runtime.Register("getType", "(Landroid/graphics/Bitmap;)I", "")]
public static int GetType (Android.Graphics.Bitmap? bitmap);
[<Android.Runtime.Register("getType", "(Landroid/graphics/Bitmap;)I", "")>]
static member GetType : Android.Graphics.Bitmap -> int
- bitmap
- Bitmap
bitmap
the OpenGL ES type of the bitmap.
- Attributes
if the bitmap does not have a type.
Return the type as defined by OpenGL ES of the supplied bitmap, if there is one. If the bitmap is stored in a compressed format, it may not have a valid OpenGL ES type.
Java documentation for android.opengl.GLUtils.getType(android.graphics.Bitmap)
.
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.
Produit | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |