Enum Class EDhApiGpuUploadMethod

java.lang.Object
java.lang.Enum<EDhApiGpuUploadMethod>
com.seibel.distanthorizons.api.enums.config.EDhApiGpuUploadMethod
All Implemented Interfaces:
Serializable, Comparable<EDhApiGpuUploadMethod>, Constable

public enum EDhApiGpuUploadMethod extends Enum<EDhApiGpuUploadMethod>
AUTO,
BUFFER_STORAGE,
SUB_DATA,
DATA
Since:
API 3.0.0
  • Enum Constant Details

    • AUTO

      public static final EDhApiGpuUploadMethod AUTO
      Picks the best option based on the GPU the user has.
    • BUFFER_STORAGE

      public static final EDhApiGpuUploadMethod BUFFER_STORAGE
      Fast rendering, no stuttering.
    • SUB_DATA

      public static final EDhApiGpuUploadMethod SUB_DATA
      Fast rendering but may stutter when uploading.
    • BUFFER_MAPPING

      @Deprecated public static final EDhApiGpuUploadMethod BUFFER_MAPPING
      Deprecated.
      not currently supported
      May end up storing buffers in System memory.
      Fast rending if in GPU memory, slow if in system memory,
      but won't stutter when uploading.
    • DATA

      public static final EDhApiGpuUploadMethod DATA
      Fast rendering but may stutter when uploading.
  • Field Details

    • useEarlyMapping

      public final boolean useEarlyMapping
    • useBufferStorage

      public final boolean useBufferStorage
  • Method Details

    • values

      public static EDhApiGpuUploadMethod[] 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 EDhApiGpuUploadMethod 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