# yuiDisplayList

A yui display list record carrying schema, schemaVersion, commandVersion, surfaceId, commands, and related state.

Last updated: 2026-09-09

Package: ui | Status: source-declared

Tags: cpu, method, source-example, thing, ui, yeho

Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.

```yh
external thing yuiDisplayList
```

- text schema: Stores schema as text.
- int schemaVersion: Stores schema version as int.
- int commandVersion: Stores command version as int.
- text surfaceId: Stores surface id as text.
- list of yuiDisplayCommand commands: Stores commands as list of yuiDisplayCommand.
- list of yuiDisplayCommand reusableCommands: Stores reusable commands as list of yuiDisplayCommand.
- list of yuiRenderPaint paints: Stores paints as list of yuiRenderPaint.
- list of yuiRenderPaint reusablePaints: Stores reusable paints as list of yuiRenderPaint.
- list of yuiRenderImageResource images: Stores images as list of yuiRenderImageResource.
- list of yuiRenderGlyphAlphaResource glyphAlphaResources: Stores glyph alpha resources as list of yuiRenderGlyphAlphaResource.
- int glyphAlphaBytes: Stores glyph alpha bytes as int.
- list of int paintIdLengths: Stores paint id lengths as list of int.
- list of int imageIdLengths: Stores image id lengths as list of int.
- list of yuiRenderClip clips: Stores clips as list of yuiRenderClip.
- list of yuiRenderTransform transforms: Stores transforms as list of yuiRenderTransform.
- int revision: Stores revision as int.
- text diagnostic: Stores diagnostic as text.
- yuiDisplayList(text surfaceId): Yui display list.
- Reset(text surfaceId) returns bool: Reset.
- PaintIndex(text id) returns int: Paint index.
- RegisterPaint(yuiRenderPaint paint) returns bool: Register paint.
- RegisterReusablePaint(text id, int red, int green, int blue, int alpha, int radius, int borderWidth, int opacityPercent) returns bool: Register reusable paint.
- ImageIndex(text id) returns int: Image index.
- RegisterImage(yuiRenderImageResource image) returns bool: Register image.
- GlyphAlphaIndex(text id) returns int: Glyph alpha index.
- RegisterGlyphAlpha(yuiRenderGlyphAlphaResource resource) returns bool: Register glyph alpha.
- ClipIndex(text id) returns int: Clip index.
- RegisterClip(yuiRenderClip clip) returns bool: Register clip.
- TransformIndex(text id) returns int: Transform index.
- RegisterTransform(yuiRenderTransform transform) returns bool: Register transform.
- KnownKind(text kind) returns bool: Known kind.
- Append(yuiDisplayCommand command) returns bool: Append.
- AppendReusable(int sequence, text ownerId, text kind, text layerId, text targetId, text resourceId, int resourceGeneration, text paintId, text clipId, text transformId, int x, int y, int width, int height, text semanticRole, text content) returns bool: Append reusable.
- OwnerCommandCount(text ownerId) returns int: Owner command count.
- ReplaceOwnerRole(text ownerId, text semanticRole) returns bool: Replace owner role.
- Snapshot() returns text: Snapshot.
- StableEquivalent(yuiDisplayList original other) returns bool: Stable equivalent.

## Use yuiDisplayList

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using ui

// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
yuiDisplayList sample = yuiDisplayList("surface Id")
Console.Log(Text.From(sample.schema))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.Reset

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Reset.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_surfaceId = "argument surface Id"
bool result = instance.Reset(argument_surfaceId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-Reset-18 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.PaintIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Paint index.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int result = instance.PaintIndex(argument_id)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-PaintIndex-19 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterPaint

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register paint.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiRenderPaint argument_paint = yuiRenderPaint("id", 1, 1, 1, 1, 1, 1, 1)
bool result = instance.RegisterPaint(argument_paint)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterPaint-20 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterReusablePaint

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register reusable paint.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int argument_red = 1
int argument_green = 1
int argument_blue = 1
int argument_alpha = 1
int argument_radius = 1
int argument_borderWidth = 1
int argument_opacityPercent = 1
bool result = instance.RegisterReusablePaint(argument_id, argument_red, argument_green, argument_blue, argument_alpha, argument_radius, argument_borderWidth, argument_opacityPercent)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterReusablePaint-21 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.ImageIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Image index.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int result = instance.ImageIndex(argument_id)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-ImageIndex-22 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterImage

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register image.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiRenderImageResource argument_image = yuiRenderImageResource("id", "kind", 1, 1, 1, 4, "png", "color Space", "alpha Mode", "state", true, "sample", "payload Hex", "example")
bool result = instance.RegisterImage(argument_image)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterImage-23 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.GlyphAlphaIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Glyph alpha index.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int result = instance.GlyphAlphaIndex(argument_id)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-GlyphAlphaIndex-24 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterGlyphAlpha

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register glyph alpha.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiRenderGlyphAlphaResource argument_resource = yuiRenderGlyphAlphaResource("id", 1, 1, 4, 4, "payload Hex", "example")
bool result = instance.RegisterGlyphAlpha(argument_resource)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterGlyphAlpha-25 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.ClipIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Clip index.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int result = instance.ClipIndex(argument_id)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-ClipIndex-26 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterClip

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register clip.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiRenderClip argument_clip = yuiRenderClip("id", yuiRenderBounds(1, 1, 1, 1), 1)
bool result = instance.RegisterClip(argument_clip)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterClip-27 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.TransformIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Transform index.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_id = "argument id"
int result = instance.TransformIndex(argument_id)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-TransformIndex-28 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.RegisterTransform

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Register transform.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiRenderTransform argument_transform = yuiRenderTransform("id", 1, 1, 1, 1, 1)
bool result = instance.RegisterTransform(argument_transform)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-RegisterTransform-29 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.KnownKind

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Known kind.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_kind = "argument kind"
bool result = instance.KnownKind(argument_kind)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-KnownKind-30 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.Append

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Append.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiDisplayCommand argument_command = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
bool result = instance.Append(argument_command)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-Append-31 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.AppendReusable

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Append reusable.
yuiDisplayList instance = yuiDisplayList("surface Id")
int argument_sequence = 1
text argument_ownerId = "argument owner Id"
text argument_kind = "argument kind"
text argument_layerId = "argument layer Id"
text argument_targetId = "argument target Id"
text argument_resourceId = "argument resource Id"
int argument_resourceGeneration = 1
text argument_paintId = "argument paint Id"
text argument_clipId = "argument clip Id"
text argument_transformId = "argument transform Id"
int argument_x = 1
int argument_y = 1
int argument_width = 1
int argument_height = 1
text argument_semanticRole = "argument semantic Role"
text argument_content = "argument content"
bool result = instance.AppendReusable(argument_sequence, argument_ownerId, argument_kind, argument_layerId, argument_targetId, argument_resourceId, argument_resourceGeneration, argument_paintId, argument_clipId, argument_transformId, argument_x, argument_y, argument_width, argument_height, argument_semanticRole, argument_content)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-AppendReusable-32 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.OwnerCommandCount

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Owner command count.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_ownerId = "argument owner Id"
int result = instance.OwnerCommandCount(argument_ownerId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-OwnerCommandCount-33 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.ReplaceOwnerRole

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Replace owner role.
yuiDisplayList instance = yuiDisplayList("surface Id")
text argument_ownerId = "argument owner Id"
text argument_semanticRole = "argument semantic Role"
bool result = instance.ReplaceOwnerRole(argument_ownerId, argument_semanticRole)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-ReplaceOwnerRole-34 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Snapshot.
yuiDisplayList instance = yuiDisplayList("surface Id")
text result = instance.Snapshot()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-Snapshot-35 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayList.StableEquivalent

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using ui

// Stable equivalent.
yuiDisplayList instance = yuiDisplayList("surface Id")
yuiDisplayList argument_other = yuiDisplayList("surface Id")
bool result = instance.StableEquivalent(argument_other)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.ui__yuidisplaylist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

```

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/ui--yuiDisplayList/method-StableEquivalent-36 --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/ui/render-10-display-list.yh

AI training permission: https://demonhunterlabs.com/ai-use
