graphics.text · function ·

CreateGraphicsGlyphAlphaCacheV1

Create graphics glyph alpha cache v1 from the supplied values.

cpufunctiongraphicsgraphics.textsource-exampletextyeho

Shape, measure, and represent text and glyph resources.

external CreateGraphicsGlyphAlphaCacheV1(int maximumEntries, int maximumBytes, text source) returns graphicsGlyphAlphaCacheV1

Status: source-declared

Parameters

int maximumEntries
Supply maximum entries as int.
int maximumBytes
Supply maximum bytes as int.
text source
Supply source as text.

Use CreateGraphicsGlyphAlphaCacheV1

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.
int maximumEntries = 1
int maximumBytes = 4
text source = "example"
graphicsGlyphAlphaCacheV1 result = CreateGraphicsGlyphAlphaCacheV1(maximumEntries, maximumBytes, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__creategraphicsglyphalphacachev1"
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:510