Enum Class ConnectingTextureData.RenderType
java.lang.Object
java.lang.Enum<ConnectingTextureData.RenderType>
com.supermartijn642.fusion.api.texture.data.ConnectingTextureData.RenderType
- All Implemented Interfaces:
Serializable,Comparable<ConnectingTextureData.RenderType>,Constable
- Enclosing interface:
- ConnectingTextureData
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery pixel in the texture will be either fully transparent or fully opaque.Pixels in the texture will be rendered fully opaque.Pixels will be rendered with the transparency in the texture. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConnectingTextureData.RenderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPAQUE
Pixels in the texture will be rendered fully opaque. -
CUTOUT
Every pixel in the texture will be either fully transparent or fully opaque. -
TRANSLUCENT
Pixels will be rendered with the transparency in the texture.
-
-
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
-