Package net.minecraft.client.renderer
Class RenderState
- java.lang.Object
-
- net.minecraft.client.renderer.RenderState
-
- Direct Known Subclasses:
RenderState.AlphaState
,RenderState.BooleanState
,RenderState.DepthTestState
,RenderState.FogState
,RenderState.LayerState
,RenderState.LineState
,RenderState.ShadeModelState
,RenderState.TargetState
,RenderState.TextureState
,RenderState.TexturingState
,RenderState.TransparencyState
,RenderState.WriteMaskState
,RenderType
public abstract class RenderState extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenderState.AlphaState
(package private) static class
RenderState.BooleanState
static class
RenderState.CullState
static class
RenderState.DepthTestState
static class
RenderState.DiffuseLightingState
static class
RenderState.FogState
static class
RenderState.LayerState
static class
RenderState.LightmapState
static class
RenderState.LineState
static class
RenderState.OffsetTexturingState
static class
RenderState.OverlayState
static class
RenderState.PortalTexturingState
static class
RenderState.ShadeModelState
static class
RenderState.TargetState
static class
RenderState.TextureState
static class
RenderState.TexturingState
static class
RenderState.TransparencyState
static class
RenderState.WriteMaskState
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RenderState(java.lang.String p_i225973_1_, java.lang.Runnable p_i225973_2_, java.lang.Runnable p_i225973_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearRenderState()
boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
private static void
setupGlintTexturing(float p_228548_0_)
void
setupRenderState()
java.lang.String
toString()
-
-
-
Field Detail
-
name
protected final java.lang.String name
-
setupState
protected java.lang.Runnable setupState
-
clearState
private final java.lang.Runnable clearState
-
NO_TRANSPARENCY
protected static final RenderState.TransparencyState NO_TRANSPARENCY
-
ADDITIVE_TRANSPARENCY
protected static final RenderState.TransparencyState ADDITIVE_TRANSPARENCY
-
LIGHTNING_TRANSPARENCY
protected static final RenderState.TransparencyState LIGHTNING_TRANSPARENCY
-
GLINT_TRANSPARENCY
protected static final RenderState.TransparencyState GLINT_TRANSPARENCY
-
CRUMBLING_TRANSPARENCY
protected static final RenderState.TransparencyState CRUMBLING_TRANSPARENCY
-
TRANSLUCENT_TRANSPARENCY
protected static final RenderState.TransparencyState TRANSLUCENT_TRANSPARENCY
-
NO_ALPHA
protected static final RenderState.AlphaState NO_ALPHA
-
DEFAULT_ALPHA
protected static final RenderState.AlphaState DEFAULT_ALPHA
-
MIDWAY_ALPHA
protected static final RenderState.AlphaState MIDWAY_ALPHA
-
FLAT_SHADE
protected static final RenderState.ShadeModelState FLAT_SHADE
-
SMOOTH_SHADE
protected static final RenderState.ShadeModelState SMOOTH_SHADE
-
BLOCK_SHEET_MIPPED
protected static final RenderState.TextureState BLOCK_SHEET_MIPPED
-
BLOCK_SHEET
protected static final RenderState.TextureState BLOCK_SHEET
-
NO_TEXTURE
protected static final RenderState.TextureState NO_TEXTURE
-
DEFAULT_TEXTURING
protected static final RenderState.TexturingState DEFAULT_TEXTURING
-
OUTLINE_TEXTURING
protected static final RenderState.TexturingState OUTLINE_TEXTURING
-
GLINT_TEXTURING
protected static final RenderState.TexturingState GLINT_TEXTURING
-
ENTITY_GLINT_TEXTURING
protected static final RenderState.TexturingState ENTITY_GLINT_TEXTURING
-
LIGHTMAP
protected static final RenderState.LightmapState LIGHTMAP
-
NO_LIGHTMAP
protected static final RenderState.LightmapState NO_LIGHTMAP
-
OVERLAY
protected static final RenderState.OverlayState OVERLAY
-
NO_OVERLAY
protected static final RenderState.OverlayState NO_OVERLAY
-
DIFFUSE_LIGHTING
protected static final RenderState.DiffuseLightingState DIFFUSE_LIGHTING
-
NO_DIFFUSE_LIGHTING
protected static final RenderState.DiffuseLightingState NO_DIFFUSE_LIGHTING
-
CULL
protected static final RenderState.CullState CULL
-
NO_CULL
protected static final RenderState.CullState NO_CULL
-
NO_DEPTH_TEST
protected static final RenderState.DepthTestState NO_DEPTH_TEST
-
EQUAL_DEPTH_TEST
protected static final RenderState.DepthTestState EQUAL_DEPTH_TEST
-
LEQUAL_DEPTH_TEST
protected static final RenderState.DepthTestState LEQUAL_DEPTH_TEST
-
COLOR_DEPTH_WRITE
protected static final RenderState.WriteMaskState COLOR_DEPTH_WRITE
-
COLOR_WRITE
protected static final RenderState.WriteMaskState COLOR_WRITE
-
DEPTH_WRITE
protected static final RenderState.WriteMaskState DEPTH_WRITE
-
NO_LAYERING
protected static final RenderState.LayerState NO_LAYERING
-
POLYGON_OFFSET_LAYERING
protected static final RenderState.LayerState POLYGON_OFFSET_LAYERING
-
VIEW_OFFSET_Z_LAYERING
protected static final RenderState.LayerState VIEW_OFFSET_Z_LAYERING
-
NO_FOG
protected static final RenderState.FogState NO_FOG
-
FOG
protected static final RenderState.FogState FOG
-
BLACK_FOG
protected static final RenderState.FogState BLACK_FOG
-
MAIN_TARGET
protected static final RenderState.TargetState MAIN_TARGET
-
OUTLINE_TARGET
protected static final RenderState.TargetState OUTLINE_TARGET
-
TRANSLUCENT_TARGET
protected static final RenderState.TargetState TRANSLUCENT_TARGET
-
PARTICLES_TARGET
protected static final RenderState.TargetState PARTICLES_TARGET
-
WEATHER_TARGET
protected static final RenderState.TargetState WEATHER_TARGET
-
CLOUDS_TARGET
protected static final RenderState.TargetState CLOUDS_TARGET
-
ITEM_ENTITY_TARGET
protected static final RenderState.TargetState ITEM_ENTITY_TARGET
-
DEFAULT_LINE
protected static final RenderState.LineState DEFAULT_LINE
-
-
Method Detail
-
setupRenderState
public void setupRenderState()
-
clearRenderState
public void clearRenderState()
-
equals
public boolean equals(@Nullable java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setupGlintTexturing
private static void setupGlintTexturing(float p_228548_0_)
-
-