GuiCircleLutAtlas

Shared LUT atlas used by GUI circle shader rendering.

Each requested circle writes one row of angle->color values into a DynamicTexture. The shader then samples that row by index to reproduce the caller-provided Float2IntFunction.

Types

Link copied to clipboard
data class Allocation(val row: Int, val textureSetup: TextureSetup) : Record

Result of one LUT allocation for a single circle draw.

Functions

Link copied to clipboard
fun allocate(colorGetter: Float2IntFunction): GuiCircleLutAtlas.Allocation

Allocates one LUT row and uploads colors produced by colorGetter.

Link copied to clipboard

Resets row allocation cursor for the next GUI draw pass.