Enum Qt3DRender.API

java.lang.Object
java.lang.Enum<Qt3DRender.API>
io.qt.qt3d.render.Qt3DRender.API
All Implemented Interfaces:
QtAbstractEnumerator, QtEnumerator, Serializable, Comparable<Qt3DRender.API>, Constable
Enclosing class:
Qt3DRender

public static enum Qt3DRender.API extends Enum<Qt3DRender.API> implements QtEnumerator

Java wrapper for Qt enum Qt3DRender::API

  • Enum Constant Details

    • OpenGL

      public static final Qt3DRender.API OpenGL

      Representing Qt3DRender::API::OpenGL

    • Vulkan

      public static final Qt3DRender.API Vulkan

      Representing Qt3DRender::API::Vulkan

    • DirectX

      public static final Qt3DRender.API DirectX

      Representing Qt3DRender::API::DirectX

    • Metal

      public static final Qt3DRender.API Metal

      Representing Qt3DRender::API::Metal

    • RHI

      public static final Qt3DRender.API RHI

      Representing Qt3DRender::API::RHI

    • Null

      public static final Qt3DRender.API Null

      Representing Qt3DRender::API::Null

  • Method Details

    • values

      public static Qt3DRender.API[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Qt3DRender.API 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 name
      NullPointerException - if the argument is null
    • value

      public int value()
      This function should return an integer value for the enum values of the enumeration that implements this interface. Default is Enum.ordinal().
      Specified by:
      value in interface QtEnumerator
    • resolve

      public static Qt3DRender.API resolve(int value)
      Returns the corresponding enum entry for the given value.
      Parameters:
      value -
      Returns:
      enum entry