extractRenderState
open override fun extractRenderState(graphics: GuiGraphicsExtractor, mouseX: Int, mouseY: Int, partialTick: Float)(source)
Extracts one render state from the common frame and presents it at the logical GUI origin.
Geometry is committed first, and a native pointer move is delivered only when its position or the committed display list changed. A second frame captures resulting hover state only after that dispatch. A zero-axis viewport still commits geometry and releases any prior texture without submitting a native blit.
Parameters
graphics
the native extraction target.
mouseX
the current native mouse x coordinate.
mouseY
the current native mouse y coordinate.
partialTick
the current native frame fraction.
Throws
when common frame work, headless rasterization, texture upload, or terminal cleanup fails.
when invoked away from the Minecraft client thread.