Enum Class EDhApiGpuUploadMethod
java.lang.Object
java.lang.Enum<EDhApiGpuUploadMethod>
com.seibel.distanthorizons.api.enums.config.EDhApiGpuUploadMethod
- All Implemented Interfaces:
Serializable
,Comparable<EDhApiGpuUploadMethod>
,Constable
AUTO,
BUFFER_STORAGE,
SUB_DATA,
DATA
BUFFER_STORAGE,
SUB_DATA,
DATA
- Since:
- API 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPicks the best option based on the GPU the user has.Deprecated.not currently supportedFast rendering, no stuttering.Fast rendering but may stutter when uploading.Fast rendering but may stutter when uploading. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EDhApiGpuUploadMethod
Returns the enum constant of this class with the specified name.static EDhApiGpuUploadMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Picks the best option based on the GPU the user has. -
BUFFER_STORAGE
Fast rendering, no stuttering. -
SUB_DATA
Fast rendering but may stutter when uploading. -
BUFFER_MAPPING
Deprecated.not currently supportedMay 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
Fast rendering but may stutter when uploading.
-
-
Field Details
-
useEarlyMapping
public final boolean useEarlyMapping -
useBufferStorage
public final boolean useBufferStorage
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-