Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102959

3D API: Change anti-aliasing support from a boolean to a new enum in Scene and SubScene constructors

XMLWordPrintable

      Anti-aliasing Change Proposal:

      Constructors remove:
      public Scene(Parent root, double width, double height, boolean depthBuffer, boolean antiAliasing)
      public SubScene(Parent root, double width, double height, boolean depthBuffer, boolean antiAliasing)

      Constructor add:
      public Scene(Parent root, double width, double height, boolean depthBuffer, SceneAntiAliasing antiAliasing)
      public SubScene(Parent root, double width, double height, boolean depthBuffer, SceneAntiAliasing antiAliasing)

      Note:The antiAliasing argument is used if the underlying graphics driver has anti-aliasing support.

      Where SceneAntiAliasing is an enum with the following entries at the moment:

      public enum SceneAntiAliasing {
          DISABLED, // disables anti-aliasing
          BALANCED, // enables anti-aliasing using optimal system setting available that balances speed and quality
          FASTEST, // enables anti-aliasing using minimum system setting available that results in better frame rate
          NICEST // enables anti-aliasing using maximum system setting available that results in best visual quality
      }

            thor Thor Johannesson (Inactive)
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: