Freigeben über


HardwareBuffer.UsageFrontBuffer Field

Definition

Usage: The buffer is used for front-buffer rendering.

[Android.Runtime.Register("USAGE_FRONT_BUFFER", ApiSince=33)]
public const long UsageFrontBuffer = 4294967296;
[<Android.Runtime.Register("USAGE_FRONT_BUFFER", ApiSince=33)>]
val mutable UsageFrontBuffer : int64

Field Value

Value = 4294967296

Implements

Attributes

Remarks

Usage: The buffer is used for front-buffer rendering. When front-buffering rendering is specified, different usages may adjust their behavior as a result. For example, when used as USAGE_GPU_COLOR_OUTPUT the buffer will behave similar to a single-buffered window. When used with USAGE_COMPOSER_OVERLAY, the system will try to prioritize the buffer receiving an overlay plane & avoid caching it in intermediate composition buffers.

Java documentation for android.hardware.HardwareBuffer.USAGE_FRONT_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