Package com.google.android.filament
Enum RenderTarget.AttachmentPoint
- java.lang.Object
-
- java.lang.Enum<RenderTarget.AttachmentPoint>
-
- com.google.android.filament.RenderTarget.AttachmentPoint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RenderTarget.AttachmentPoint>
- Enclosing class:
- RenderTarget
public static enum RenderTarget.AttachmentPoint extends java.lang.Enum<RenderTarget.AttachmentPoint>
An attachment point is a slot that can be assigned to aTexture.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RenderTarget.AttachmentPointvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RenderTarget.AttachmentPoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLOR
public static final RenderTarget.AttachmentPoint COLOR
-
COLOR1
public static final RenderTarget.AttachmentPoint COLOR1
-
COLOR2
public static final RenderTarget.AttachmentPoint COLOR2
-
COLOR3
public static final RenderTarget.AttachmentPoint COLOR3
-
COLOR4
public static final RenderTarget.AttachmentPoint COLOR4
-
COLOR5
public static final RenderTarget.AttachmentPoint COLOR5
-
COLOR6
public static final RenderTarget.AttachmentPoint COLOR6
-
COLOR7
public static final RenderTarget.AttachmentPoint COLOR7
-
DEPTH
public static final RenderTarget.AttachmentPoint DEPTH
-
-
Method Detail
-
values
public static RenderTarget.AttachmentPoint[] 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 (RenderTarget.AttachmentPoint c : RenderTarget.AttachmentPoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderTarget.AttachmentPoint 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
-
-