Sdílet prostřednictvím


Bitmap.HardwareBuffer Property

Definition

public Android.Hardware.HardwareBuffer HardwareBuffer { [Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "", ApiSince=31)>]
member this.HardwareBuffer : Android.Hardware.HardwareBuffer

Property Value

HardwareBuffer which is internally used by hardware bitmap

Note: the HardwareBuffer does not have an associated ColorSpace. To render this object the same as its rendered with this Bitmap, you should also call #getColorSpace().</p>

Must not be modified while a wrapped Bitmap is accessing it. Doing so will result in undefined behavior.</p>

Attributes

Remarks

Java documentation for android.graphics.Bitmap.getHardwareBuffer().

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