Enum Class FramebufferAttachmentDefinition.DataType
java.lang.Object
java.lang.Enum<FramebufferAttachmentDefinition.DataType>
foundry.veil.api.client.render.framebuffer.FramebufferAttachmentDefinition.DataType
- All Implemented Interfaces:
Serializable
,Comparable<FramebufferAttachmentDefinition.DataType>
,Constable
- Enclosing class:
FramebufferAttachmentDefinition
public static enum FramebufferAttachmentDefinition.DataType
extends Enum<FramebufferAttachmentDefinition.DataType>
The formats for attachments.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FramebufferAttachmentDefinition.DataType> -
Method Summary
-
Enum Constant Details
-
UNSIGNED_BYTE
-
BYTE
-
UNSIGNED_SHORT
-
SHORT
-
UNSIGNED_INT
-
INT
-
HALF_FLOAT
-
FLOAT
-
UNSIGNED_BYTE_3_3_2
-
UNSIGNED_BYTE_2_3_3_REV
-
UNSIGNED_SHORT_5_6_5
-
UNSIGNED_SHORT_5_6_5_REV
-
UNSIGNED_SHORT_4_4_4_4
-
UNSIGNED_SHORT_4_4_4_4_REV
-
UNSIGNED_SHORT_5_5_5_1
-
UNSIGNED_SHORT_1_5_5_5_REV
-
UNSIGNED_INT_8_8_8_8
-
UNSIGNED_INT_8_8_8_8_REV
-
UNSIGNED_INT_10_10_10_2
-
UNSIGNED_INT_2_10_10_10_REV
-
UNSIGNED_INT_24_8
-
UNSIGNED_INT_10F_11F_11F_REV
-
UNSIGNED_INT_5_9_9_9_REV
-
FLOAT_32_UNSIGNED_INT_24_8_REV
-
-
Field Details
-
CODEC
-
-
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
-
getId
public int getId()- Returns:
- The OpenGL id of this data type
-