Enum Class TextureBank
- All Implemented Interfaces:
Serializable,Comparable<TextureBank>,Constable
Texture banks as defined by
GL13.GL_TEXTURE0 through GL13.GL_TEXTURE31. As these texture banks are not necessarily all supported
by graphics cards (as documented in GL13.glActiveTexture(int), please
use these sparingly and try to stay within the first eight or so banks.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureBankReturns the enum constant of this class with the specified name.static TextureBank[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BANK_1
-
BANK_2
-
BANK_3
-
BANK_4
-
BANK_5
-
BANK_6
-
BANK_7
-
BANK_8
-
BANK_9
-
BANK_10
-
BANK_11
-
BANK_12
-
BANK_13
-
BANK_14
-
BANK_15
-
BANK_16
-
BANK_17
-
BANK_18
-
BANK_19
-
BANK_20
-
BANK_21
-
BANK_22
-
BANK_23
-
BANK_24
-
BANK_25
-
BANK_26
-
BANK_27
-
BANK_28
-
BANK_29
-
BANK_30
-
BANK_31
-
BANK_32
-
-
Field Details
-
BANKS
-
-
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
-