public abstract class RenderState
extends java.lang.Object
Modifier and Type | Class and 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 |
Constructor and Description |
---|
RenderState(java.lang.String nameIn,
java.lang.Runnable setupTaskIn,
java.lang.Runnable clearTaskIn) |
Modifier and Type | Method and Description |
---|---|
void |
clearRenderState() |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
hashCode() |
private static void |
setupGlintTexturing(float scaleIn) |
void |
setupRenderState() |
protected final java.lang.String name
private final java.lang.Runnable setupTask
private final java.lang.Runnable clearTask
protected static final RenderState.TransparencyState NO_TRANSPARENCY
protected static final RenderState.TransparencyState ADDITIVE_TRANSPARENCY
protected static final RenderState.TransparencyState LIGHTNING_TRANSPARENCY
protected static final RenderState.TransparencyState GLINT_TRANSPARENCY
protected static final RenderState.TransparencyState CRUMBLING_TRANSPARENCY
protected static final RenderState.TransparencyState TRANSLUCENT_TRANSPARENCY
protected static final RenderState.AlphaState ZERO_ALPHA
protected static final RenderState.AlphaState DEFAULT_ALPHA
protected static final RenderState.AlphaState HALF_ALPHA
protected static final RenderState.ShadeModelState SHADE_DISABLED
protected static final RenderState.ShadeModelState SHADE_ENABLED
protected static final RenderState.TextureState BLOCK_SHEET_MIPPED
protected static final RenderState.TextureState BLOCK_SHEET
protected static final RenderState.TextureState NO_TEXTURE
protected static final RenderState.TexturingState DEFAULT_TEXTURING
protected static final RenderState.TexturingState OUTLINE_TEXTURING
protected static final RenderState.TexturingState GLINT_TEXTURING
protected static final RenderState.TexturingState ENTITY_GLINT_TEXTURING
protected static final RenderState.LightmapState LIGHTMAP_ENABLED
protected static final RenderState.LightmapState LIGHTMAP_DISABLED
protected static final RenderState.OverlayState OVERLAY_ENABLED
protected static final RenderState.OverlayState OVERLAY_DISABLED
protected static final RenderState.DiffuseLightingState DIFFUSE_LIGHTING_ENABLED
protected static final RenderState.DiffuseLightingState DIFFUSE_LIGHTING_DISABLED
protected static final RenderState.CullState CULL_ENABLED
protected static final RenderState.CullState CULL_DISABLED
protected static final RenderState.DepthTestState DEPTH_ALWAYS
protected static final RenderState.DepthTestState DEPTH_EQUAL
protected static final RenderState.DepthTestState DEPTH_LEQUAL
protected static final RenderState.WriteMaskState COLOR_DEPTH_WRITE
protected static final RenderState.WriteMaskState COLOR_WRITE
protected static final RenderState.WriteMaskState DEPTH_WRITE
protected static final RenderState.LayerState NO_LAYERING
protected static final RenderState.LayerState POLYGON_OFFSET_LAYERING
protected static final RenderState.LayerState PROJECTION_LAYERING
protected static final RenderState.FogState NO_FOG
protected static final RenderState.FogState FOG
protected static final RenderState.FogState BLACK_FOG
protected static final RenderState.TargetState MAIN_TARGET
protected static final RenderState.TargetState OUTLINE_TARGET
protected static final RenderState.LineState DEFAULT_LINE
public RenderState(java.lang.String nameIn, java.lang.Runnable setupTaskIn, java.lang.Runnable clearTaskIn)
public void setupRenderState()
public void clearRenderState()
public boolean equals(@Nullable java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
private static void setupGlintTexturing(float scaleIn)