graphics.text · thing ·
graphicsGlyphAlphaResourceSetV1
A graphics glyph alpha resource set v1 record carrying available, resources, submissions, totalBytes, nativeScratchAllocations, and related state.
Shape, measure, and represent text and glyph resources.
external thing graphicsGlyphAlphaResourceSetV1Status: source-declared
Fields and methods (18)
bool available- Stores available as bool.
list of graphicsGlyphAlphaResourceV1 resources- Stores resources as list of graphicsGlyphAlphaResourceV1.
list of graphicsGlyphAlphaSubmissionV1 submissions- Stores submissions as list of graphicsGlyphAlphaSubmissionV1.
int totalBytes- Stores total bytes as int.
int nativeScratchAllocations- Stores native scratch allocations as int.
int nativeScratchReleases- Stores native scratch releases as int.
int nativeObjectsAcquired- Stores native objects acquired as int.
int nativeObjectsReleased- Stores native objects released as int.
text diagnostic- Stores diagnostic as text.
text source- Stores source as text.
graphicsGlyphAlphaResourceSetV1(text source)- Graphics glyph alpha resource set v1.
FindResource(text id) returns int- Find resource. Complete example
AddResource(graphicsGlyphAlphaResourceV1 resource) returns int- Add resource. Complete example
AddSubmission(graphicsGlyphAlphaSubmissionV1 submission) returns bool- Add submission. Complete example
Reject(text issue)- Reject. Complete example
CleanupComplete() returns bool- Cleanup complete. Complete example
ValidationIssue() returns text- Validation issue. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsGlyphAlphaResourceSetV1
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.
graphicsGlyphAlphaResourceSetV1 sample = graphicsGlyphAlphaResourceSetV1("example")
Console.Log(Text.From(sample.available))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.FindResource
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Find resource.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text argument_id = "argument id"
int result = instance.FindResource(argument_id)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.AddResource
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Add resource.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
graphicsGlyphAlphaResourceV1 argument_resource = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
int result = instance.AddResource(argument_resource)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.AddSubmission
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Add submission.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
graphicsGlyphAlphaSubmissionV1 argument_submission = graphicsGlyphAlphaSubmissionV1(1, 1, 1, 1, 1, 1, 1, true, "example")
bool result = instance.AddSubmission(argument_submission)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.Reject
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Reject.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text argument_issue = "argument issue"
instance.Reject(argument_issue)
Console.Log("Reject completed")
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.CleanupComplete
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Cleanup complete.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
bool result = instance.CleanupComplete()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.ValidationIssue
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Validation issue.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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"
graphicsGlyphAlphaResourceSetV1.Snapshot
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Snapshot.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcesetv1"
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:157