TextRenderer.AndroidTextRendererQueue
A private static class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Private helper for TextRenderer that spreads text mesh building on Android across frames, about 5 ms per frame.
- Listed in Global namespace: T to X
- Nested in
TextRenderer
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private const float allowance | Time budget per frame, 0.005 seconds. |
private static EmptyBehaviour coroutineRunner | Fallback object that runs the coroutine when AltaCoroutine isn't ready. |
private static bool isRendering | True while the queue is being worked through. |
private static readonly Queue<TextRenderer> queueItems | Renderers waiting to be built. |
Methods
| Member | What it is |
|---|---|
static bool EnterQueue(TextRenderer renderer) | Starts processing if idle and returns true so the renderer builds now; otherwise queues it and returns false. |