@Environment(value=CLIENT) static final class RenderLayer.MultiPhase extends RenderLayer
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RenderLayer.MultiPhase.HashStrategy |
RenderLayer.MultiPhase, RenderLayer.MultiPhaseParameters, RenderLayer.OutlineMode
RenderPhase.Alpha, RenderPhase.Cull, RenderPhase.DepthTest, RenderPhase.DiffuseLighting, RenderPhase.Fog, RenderPhase.Layering, RenderPhase.Lightmap, RenderPhase.LineWidth, RenderPhase.OffsetTexturing, RenderPhase.Overlay, RenderPhase.PortalTexturing, RenderPhase.ShadeModel, RenderPhase.Target, RenderPhase.Texture, RenderPhase.Texturing, RenderPhase.Toggleable, RenderPhase.Transparency, RenderPhase.WriteMaskState
Modifier and Type | Field and Description |
---|---|
private Optional<RenderLayer> |
affectedOutline |
private static it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderLayer.MultiPhase> |
CACHE |
private int |
hash |
private boolean |
outline |
private RenderLayer.MultiPhaseParameters |
phases |
LINES
ADDITIVE_TRANSPARENCY, ALL_MASK, ALWAYS_DEPTH_TEST, BLACK_FOG, BLOCK_ATLAS_TEXTURE, CLOUDS_TARGET, COLOR_MASK, CRUMBLING_TRANSPARENCY, DEFAULT_TEXTURING, DEPTH_MASK, DISABLE_CULLING, DISABLE_DIFFUSE_LIGHTING, DISABLE_LIGHTMAP, DISABLE_OVERLAY_COLOR, ENABLE_CULLING, ENABLE_DIFFUSE_LIGHTING, ENABLE_LIGHTMAP, ENABLE_OVERLAY_COLOR, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, FOG, FULL_LINE_WIDTH, GLINT_TEXTURING, GLINT_TRANSPARENCY, HALF_ALPHA, ITEM_TARGET, LEQUAL_DEPTH_TEST, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MIPMAP_BLOCK_ATLAS_TEXTURE, name, NO_FOG, NO_LAYERING, NO_TEXTURE, NO_TRANSPARENCY, ONE_TENTH_ALPHA, OUTLINE_TARGET, OUTLINE_TEXTURING, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, SHADE_MODEL, SMOOTH_SHADE_MODEL, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET, ZERO_ALPHA
Modifier | Constructor and Description |
---|---|
private |
MultiPhase(String name,
VertexFormat vertexFormat,
int drawMode,
int expectedBufferSize,
boolean hasCrumbling,
boolean translucent,
RenderLayer.MultiPhaseParameters phases) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Optional<RenderLayer> |
getAffectedOutline() |
int |
hashCode() |
boolean |
isOutline() |
private static RenderLayer.MultiPhase |
of(String name,
VertexFormat vertexFormat,
int drawMode,
int expectedBufferSize,
boolean hasCrumbling,
boolean translucent,
RenderLayer.MultiPhaseParameters phases) |
String |
toString() |
asOptional, draw, getArmorCutoutNoCull, getArmorEntityGlint, getArmorGlint, getBeaconBeam, getBlockBreaking, getBlockLayers, getCutout, getCutoutMipped, getDirectEntityGlint, getDirectGlint, getDrawMode, getEndPortal, getEnergySwirl, getEntityAlpha, getEntityCutout, getEntityCutoutNoCull, getEntityCutoutNoCull, getEntityCutoutNoCullZOffset, getEntityCutoutNoCullZOffset, getEntityDecal, getEntityGlint, getEntityNoOutline, getEntityShadow, getEntitySmoothCutout, getEntitySolid, getEntityTranslucent, getEntityTranslucent, getEntityTranslucentCull, getExpectedBufferSize, getEyes, getGlint, getItemEntityTranslucentCull, getLeash, getLightning, getLines, getOutline, getOutline, getSolid, getText, getTextSeeThrough, getTranslucent, getTranslucentMovingBlock, getTranslucentNoCrumbling, getTripwire, getVertexFormat, getWaterMask, hasCrumbling, method_30676, of
endDrawing, startDrawing
private static final it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderLayer.MultiPhase> CACHE
private final RenderLayer.MultiPhaseParameters phases
private final int hash
private final Optional<RenderLayer> affectedOutline
private final boolean outline
private MultiPhase(String name, VertexFormat vertexFormat, int drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)
private static RenderLayer.MultiPhase of(String name, VertexFormat vertexFormat, int drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)
public Optional<RenderLayer> getAffectedOutline()
getAffectedOutline
in class RenderLayer
public boolean isOutline()
isOutline
in class RenderLayer
public boolean equals(@Nullable Object object)
equals
in class RenderPhase
public int hashCode()
hashCode
in class RenderPhase
public String toString()
toString
in class RenderLayer