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

public static enum ObjLoaderDemo.City extends Enum<ObjLoaderDemo.City>
A bundled city model that the demo can load.
  • Enum Constant Details

    • CITY1

      public static final ObjLoaderDemo.City 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

      public static final ObjLoaderDemo.City 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

      public static ObjLoaderDemo.City[] 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

      public static ObjLoaderDemo.City valueOf(String name)
      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 name
      NullPointerException - if the argument is null