Bitmap.HasMipMap Property
Definition
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.
Indicates whether the renderer responsible for drawing this bitmap should attempt to use mipmaps when this bitmap is drawn scaled down. -or- Set a hint for the renderer responsible for drawing this bitmap indicating that it should attempt to use mipmaps when this bitmap is drawn scaled down.
public bool HasMipMap { [Android.Runtime.Register("hasMipMap", "()Z", "")] get; [Android.Runtime.Register("setHasMipMap", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("hasMipMap", "()Z", "")>]
[<set: Android.Runtime.Register("setHasMipMap", "(Z)V", "")>]
member this.HasMipMap : bool with get, set
Property Value
true if the renderer should attempt to use mipmaps, false otherwise
- Attributes
Remarks
Property getter documentation:
Indicates whether the renderer responsible for drawing this bitmap should attempt to use mipmaps when this bitmap is drawn scaled down.
If you know that you are going to draw this bitmap at less than 50% of its original size, you may be able to obtain a higher quality
This property is only a suggestion that can be ignored by the renderer. It is not guaranteed to have any effect.
Java documentation for android.graphics.Bitmap.hasMipMap()
.
Property setter documentation:
Set a hint for the renderer responsible for drawing this bitmap indicating that it should attempt to use mipmaps when this bitmap is drawn scaled down.
If you know that you are going to draw this bitmap at less than 50% of its original size, you may be able to obtain a higher quality by turning this property on.
Note that if the renderer respects this hint it might have to allocate extra memory to hold the mipmap levels for this bitmap.
This property is only a suggestion that can be ignored by the renderer. It is not guaranteed to have any effect.
Java documentation for android.graphics.Bitmap.setHasMipMap(boolean)
.
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.