Enum Class ObjLoaderDemo.City
java.lang.Object
java.lang.Enum<ObjLoaderDemo.City>
eu.svjatoslav.aukio.e3d.examples.obj_loader_demo.ObjLoaderDemo.City
- All Implemented Interfaces:
Serializable, Comparable<ObjLoaderDemo.City>, Constable
- Enclosing class:
ObjLoaderDemo
A bundled city model that the demo can load.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjLoaderDemo.CityReturns the enum constant of this class with the specified name.static ObjLoaderDemo.City[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CITY1
The original city block of high-rise buildings with cars (~27k faces). Lit ONLY by one strong hero light south-east above the city (no sun): facades toward it blaze, the far sides fall into shadow — a clean single-source global-illumination showcase. -
CITY2
A larger district of cylindrical towers (~211k faces). Lit by the sun plus one strong hero light high east of the city.
-
-
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
-