Package ke.ric.renderer.api
Enum Class Attachment
- All Implemented Interfaces:
Serializable,Comparable<Attachment>,Constable
Optional per-pixel data that can accompany the always-present RGBA8 color frame.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOne floating-point depth value per pixel.One material identifier per pixel.Three floating-point normal components per pixel.One caller-visible object identifier per pixel. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttachmentReturns the enum constant of this class with the specified name.static Attachment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEPTH
One floating-point depth value per pixel. -
NORMAL
Three floating-point normal components per pixel. -
MATERIAL_ID
One material identifier per pixel. -
OBJECT_ID
One caller-visible object identifier per pixel.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-