Package com.google.android.filament
Enum View.TargetBufferFlags
- java.lang.Object
-
- java.lang.Enum<View.TargetBufferFlags>
-
- com.google.android.filament.View.TargetBufferFlags
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<View.TargetBufferFlags>
- Enclosing class:
- View
public static enum View.TargetBufferFlags extends java.lang.Enum<View.TargetBufferFlags>
Used to select buffers.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<View.TargetBufferFlags>ALLAll buffers are selected.static java.util.EnumSet<View.TargetBufferFlags>ALL_COLORstatic java.util.EnumSet<View.TargetBufferFlags>DEPTH_STENCILDepth and stencil buffer selected.static java.util.EnumSet<View.TargetBufferFlags>NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static View.TargetBufferFlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static View.TargetBufferFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLOR0
public static final View.TargetBufferFlags COLOR0
Color 0 buffer selected.
-
COLOR1
public static final View.TargetBufferFlags COLOR1
Color 1 buffer selected.
-
COLOR2
public static final View.TargetBufferFlags COLOR2
Color 2 buffer selected.
-
COLOR3
public static final View.TargetBufferFlags COLOR3
Color 3 buffer selected.
-
DEPTH
public static final View.TargetBufferFlags DEPTH
Depth buffer selected.
-
STENCIL
public static final View.TargetBufferFlags STENCIL
Stencil buffer selected.
-
-
Field Detail
-
NONE
public static java.util.EnumSet<View.TargetBufferFlags> NONE
-
ALL_COLOR
public static java.util.EnumSet<View.TargetBufferFlags> ALL_COLOR
-
DEPTH_STENCIL
public static java.util.EnumSet<View.TargetBufferFlags> DEPTH_STENCIL
Depth and stencil buffer selected.
-
ALL
public static java.util.EnumSet<View.TargetBufferFlags> ALL
All buffers are selected.
-
-
Method Detail
-
values
public static View.TargetBufferFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (View.TargetBufferFlags c : View.TargetBufferFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static View.TargetBufferFlags valueOf(java.lang.String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-