Class RenderConfig
java.lang.Object
dev.prozilla.pine.core.state.config.RenderConfig
Manages configuration options related to rendering.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanConfigOptionEnables blending.final BooleanConfigOptionEnables depth testing.final ObjectConfigOption<Color> Used as the render color for objects when no color is passed to the renderer.static final ConfigKey<RenderMode> final ObjectConfigOption<RenderMode> Determines how vertices appear on the screen.final BooleanConfigOptionEnables snapping of pixels to whole numbers.final BooleanConfigOptionEnables the snapping of pixels that make up text. -
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
Enables blending. Defaults totrue. -
enableDepthTest
Enables depth testing. Defaults totrue. -
renderMode
Determines how vertices appear on the screen. Defaults toRenderMode.NORMAL. -
snapPixels
Enables snapping of pixels to whole numbers. Defaults tofalse. -
snapText
Enables the snapping of pixels that make up text. Defaults totrue.
-
-
Constructor Details
-
RenderConfig
public RenderConfig()
-