@Environment(value=CLIENT) public static class RenderPhase.Texture extends RenderPhase
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 boolean |
bilinear |
private Optional<Identifier> |
id |
private boolean |
mipmap |
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
Constructor and Description |
---|
Texture() |
Texture(Identifier id,
boolean bilinear,
boolean mipmap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
protected Optional<Identifier> |
getId() |
int |
hashCode() |
String |
toString() |
endDrawing, startDrawing
private final Optional<Identifier> id
private final boolean bilinear
private final boolean mipmap
public Texture(Identifier id, boolean bilinear, boolean mipmap)
public Texture()
public boolean equals(Object object)
equals
in class RenderPhase
public int hashCode()
hashCode
in class RenderPhase
public String toString()
toString
in class RenderPhase
protected Optional<Identifier> getId()