# graphicsGlyphAlphaResourceSetV1

A graphics glyph alpha resource set v1 record carrying available, resources, submissions, totalBytes, nativeScratchAllocations, and related state.

Last updated: 2026-09-09

Package: graphics.text | Status: source-declared

Tags: cpu, graphics, graphics.text, method, source-example, text, thing, yeho

Shape, measure, and represent text and glyph resources.

```yh
external thing graphicsGlyphAlphaResourceSetV1
```

- 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.
- AddResource(graphicsGlyphAlphaResourceV1 resource) returns int: Add resource.
- AddSubmission(graphicsGlyphAlphaSubmissionV1 submission) returns bool: Add submission.
- Reject(text issue): Reject.
- CleanupComplete() returns bool: Cleanup complete.
- ValidationIssue() returns text: Validation issue.
- Snapshot() returns text: Snapshot.

## Use graphicsGlyphAlphaResourceSetV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using graphics.text

// Shape, measure, and represent text and glyph resources.
graphicsGlyphAlphaResourceSetV1 sample = graphicsGlyphAlphaResourceSetV1("example")
Console.Log(Text.From(sample.available))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.FindResource

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-FindResource-11 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.AddResource

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-AddResource-12 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.AddSubmission

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-AddSubmission-13 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.Reject

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text

// Reject.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text argument_issue = "argument issue"
instance.Reject(argument_issue)
Console.Log("Reject completed")

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-Reject-14 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.CleanupComplete

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text

// Cleanup complete.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
bool result = instance.CleanupComplete()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-CleanupComplete-15 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.ValidationIssue

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text

// Validation issue.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-ValidationIssue-16 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsGlyphAlphaResourceSetV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text

// Snapshot.
graphicsGlyphAlphaResourceSetV1 instance = graphicsGlyphAlphaResourceSetV1("example")
text result = instance.Snapshot()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsGlyphAlphaResourceSetV1/method-Snapshot-17 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/graphics/text/glyph_alpha_resources_v1.yh

AI training permission: https://demonhunterlabs.com/ai-use
