graphics.text · thing ·

graphicsGlyphAlphaCacheEntryV1

A graphics glyph alpha cache entry v1 record carrying resource, lastUseTick.

cpugraphicsgraphics.textsource-exampletextthingyeho

Shape, measure, and represent text and glyph resources.

external thing graphicsGlyphAlphaCacheEntryV1

Status: source-declared

Fields and methods (3)
graphicsGlyphAlphaResourceV1 resource
Stores resource as graphicsGlyphAlphaResourceV1.
int lastUseTick
Stores last use tick as int.
graphicsGlyphAlphaCacheEntryV1(graphicsGlyphAlphaResourceV1 resource, int lastUseTick)
Graphics glyph alpha cache entry v1.

Use graphicsGlyphAlphaCacheEntryV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.text

// Shape, measure, and represent text and glyph resources.
graphicsGlyphAlphaCacheEntryV1 sample = graphicsGlyphAlphaCacheEntryV1(graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example"), 1)
Console.Log(Text.From(sample.lastUseTick))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalphacacheentryv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/text/glyph_alpha_resources_v1.yh:349