Back to Filament

TargetBufferFlags

docs/android/dokka/filament-android/com.google.android.filament/-view/-target-buffer-flags/index.md

1.75.02.6 KB
Original Source

//filament-android/com.google.android.filament/View/TargetBufferFlags

TargetBufferFlags

[main]
enum TargetBufferFlags

Used to select buffers.

Entries

COLOR0[main]
COLOR0
Color 0 buffer selected.
COLOR1[main]
COLOR1
Color 1 buffer selected.
COLOR2[main]
COLOR2
Color 2 buffer selected.
COLOR3[main]
COLOR3
Color 3 buffer selected.
DEPTH[main]
DEPTH
Depth buffer selected.
STENCIL[main]
STENCIL
Stencil buffer selected.

Properties

NameSummary
ALL[main]
open var ALL: EnumSet<View.TargetBufferFlags>
All buffers are selected.
ALL_COLOR[main]
open var ALL_COLOR: EnumSet<View.TargetBufferFlags>
DEPTH_STENCIL[main]
open var DEPTH_STENCIL: EnumSet<View.TargetBufferFlags>
Depth and stencil buffer selected.
NONE[main]
open var NONE: EnumSet<View.TargetBufferFlags>

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): View.TargetBufferFlags
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[main]
open fun values(): Array<View.TargetBufferFlags>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.