Enum AntiAliasingMode
- java.lang.Object
-
- java.lang.Enum<AntiAliasingMode>
-
- net.runelite.client.plugins.gpu.config.AntiAliasingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AntiAliasingMode>
public enum AntiAliasingMode extends Enum<AntiAliasingMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
int
getSamples()
String
toString()
static AntiAliasingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AntiAliasingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final AntiAliasingMode DISABLED
-
MSAA_2
public static final AntiAliasingMode MSAA_2
-
MSAA_4
public static final AntiAliasingMode MSAA_4
-
MSAA_8
public static final AntiAliasingMode MSAA_8
-
MSAA_16
public static final AntiAliasingMode MSAA_16
-
-
Method Detail
-
values
public static AntiAliasingMode[] 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 (AntiAliasingMode c : AntiAliasingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AntiAliasingMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AntiAliasingMode>
-
getName
public String getName()
-
getSamples
public int getSamples()
-
-