public enum MarkerBatchRenderPass extends Enum<MarkerBatchRenderPass> implements Enumeration
RenderPass
Enum Constant and Description |
---|
BASED_ON_TRANSLUCENCY
The marker batch render pass should be determined based on the marker batch's translucency.
|
OPAQUE
The marker batch contains all opaque textures and therefore should
be rendered using the
Opaque pass. |
TRANSLUCENT
The marker batch contains textures with translucency and therefore should
be rendered using the
Translucent pass. |
Modifier and Type | Method and Description |
---|---|
static MarkerBatchRenderPass |
getDefault()
Get the enum constant that is considered to be the default.
|
static MarkerBatchRenderPass |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static MarkerBatchRenderPass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarkerBatchRenderPass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkerBatchRenderPass OPAQUE
Opaque
pass.public static final MarkerBatchRenderPass TRANSLUCENT
Translucent
pass.
For correct blending of overlapping textures, also consider using
MarkerBatchSortOrder.BackToFront
.public static final MarkerBatchRenderPass BASED_ON_TRANSLUCENCY
MarkerBatchPrimitiveOptionalParameters.SetColors
is used.public static MarkerBatchRenderPass[] values()
for (MarkerBatchRenderPass c : MarkerBatchRenderPass.values()) System.out.println(c);
public static MarkerBatchRenderPass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static MarkerBatchRenderPass getFromValue(int value)
value
- a numeric value.@Nonnull public static MarkerBatchRenderPass getDefault()