Render Manager
OneConfig's rendering system, NanoVG and how to use it
Getting Started
NanoVGHelper.INSTANCE.setupAndDraw((vg) -> {
NanoVGHelper.INSTANCE.drawRoundedRect(vg, 10, 50, 100, 100, -1, 12f); // draw a white rounded rectangle with corner radius 12 at x=10, y=50 with a width and height of 100
// do some more drawing
}nanoVG {
drawRoundedRect(10, 50, 100, 100, -1, 12f)
}When do I draw?
Colors
Images
Info Icons
Last updated
Was this helpful?