Class RenderConfig
java.lang.Object
dev.prozilla.pine.core.state.config.RenderConfig
Manages configuration options related to rendering.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConfigOption<Boolean> Defaults totrue.final ConfigOption<Boolean> Defaults totrue.final ConfigOption<Color> Used as the render color for objects when no color is passed to the renderer.static final ConfigKey<RenderMode> final ConfigOption<RenderMode> Defaults toRenderMode.NORMAL.final ConfigOption<Boolean> Enables snapping of pixels.final ConfigOption<Boolean> Enables the snapping of text pixels. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FALLBACK_RENDER_COLOR
-
ENABLE_BLEND
-
ENABLE_DEPTH_TEST
-
RENDER_MODE
-
SNAP_PIXELS
-
SNAP_TEXT
-
fallbackRenderColor
Used as the render color for objects when no color is passed to the renderer. Defaults to white. -
enableBlend
Defaults totrue. -
enableDepthTest
Defaults totrue. -
renderMode
Defaults toRenderMode.NORMAL. -
snapPixels
Enables snapping of pixels. Defaults tofalse. -
snapText
Enables the snapping of text pixels. Defaults totrue.
-
-
Constructor Details
-
RenderConfig
public RenderConfig()
-