Enum Class SoSceneManager.AntialiasingModes

java.lang.Object
java.lang.Enum<SoSceneManager.AntialiasingModes>
com.openinventor.inventor.SoSceneManager.AntialiasingModes
All Implemented Interfaces:
IntegerValuedEnum, Serializable, Comparable<SoSceneManager.AntialiasingModes>, Constable
Enclosing class:
SoSceneManager

public static enum SoSceneManager.AntialiasingModes extends Enum<SoSceneManager.AntialiasingModes> implements IntegerValuedEnum
Enum which indicates the desired antialiasing algorithm. This is used by the antialiasing API.
See Also:
  • Enum Constant Details

    • AUTO

      public static final SoSceneManager.AntialiasingModes AUTO
      This is the default mode for antialiasing. The different algorithms are tested in the following order and the first available is used: SMAA, FSAA, SUPERSAMPLING.
    • FXAA

      public static final SoSceneManager.AntialiasingModes FXAA
      FXAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering. The main advantages of this technique are reduced memory footprint and cost.
    • SMAA

      public static final SoSceneManager.AntialiasingModes SMAA
      SMAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering. The main advantages of this technique are reduced memory footprint and cost with better quality result than FXAA algorithm.
    • FSAA

      public static final SoSceneManager.AntialiasingModes FSAA
      FSAA is a full-screen antialiasing algorithm based on super-sampling. The main advantage is the quality of the antialiasing but the memory and speed cost can be huge.
      Note: Use the SoFullSceneAntialiasing node to control FSAA during render traversal.
      Limitations:
      • Transparency:
        This mode is not compatible with SORTED_PIXEL transparency mode (see SoGLRenderAction.TransparencyType). Use SUPERSAMPLING, FXAA or SMAA instead if you need high quality transparency.
    • SUPERSAMPLING

      public static final SoSceneManager.AntialiasingModes SUPERSAMPLING
      The advantage of this algorithm is it gives high quality images even on lines. However multiple rendering passes are required, which reduces performance. (Old name was ACCUM_BUFFERS.)
    • ACCUM_BUFFERS

      @Deprecated(since="9.5.0.0") public static final SoSceneManager.AntialiasingModes ACCUM_BUFFERS
      Deprecated.
      As of Open Inventor 9.5.0.0. It corresponds to the SUPERSAMPLING antialiasing type.
      Deprecated name of SUPERSAMPLING.

      Warning Deprecated since Open Inventor 9500. It corresponds to the SUPERSAMPLING antialiasing type.

    • NO_ANTIALIASING

      public static final SoSceneManager.AntialiasingModes NO_ANTIALIASING
      Turn off antialiasing.
  • Method Details

    • values

      public static SoSceneManager.AntialiasingModes[] 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 SoSceneManager.AntialiasingModes 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
    • valueOf

      public static SoSceneManager.AntialiasingModes valueOf(int val)
      Returns the enum constant of this type with the specified integer value
      Returns:
      the enum constant of this type with the specified integer value.
    • getValue

      public int getValue()
      Description copied from interface: IntegerValuedEnum
      Returns the integer value of the enum constant.
      Specified by:
      getValue in interface IntegerValuedEnum
      Returns:
      the integer value of the enum constant.