Package lol.trq.helios.state
package lol.trq.helios.state
-
ClassDescriptionA
GlStateCachefor hosts that cache nothing: every call goes straight to the backend.The state a host caches on the CPU side, such as Minecraft'sGlStateManager.Nested clipping rectangles in drawing units, each clipped to the one outside it.Records the GL state a draw changes and puts it back.A piece of GL state the guard can save and restore.Clips drawing to an arbitrary shape with the stencil buffer: draw a mask, then draw content only inside it (or only outside it).