frontend.yui · thing ·

yuiCorePassiveRenderItem

A yui core passive render item record carrying ownerId, kind, state, label, icon, and related state.

cpufrontendfrontend.yuimethodsource-examplethingyehoyui

Turn YUI models into a working frontend and its rendering/input adapters.

external thing yuiCorePassiveRenderItem

Status: source-declared

Fields and methods (12)
text ownerId
Stores owner id as text.
text kind
Stores kind as text.
text state
Stores state as text.
text label
Stores label as text.
text icon
Stores icon as text.
text resourceState
Stores resource state as text.
yuiRenderBounds bounds
Stores bounds as yuiRenderBounds.
text clipId
Stores clip id as text.
text layerId
Stores layer id as text.
text targetId
Stores target id as text.
yuiCorePassiveRenderItem(text ownerId, text kind, text state, text label, text icon, text resourceState, yuiRenderBounds bounds, text clipId, text layerId, text targetId)
Yui core passive render item.
ValidationIssue(yuiDisplayList display, yuiCoreControlCatalog catalog) returns text
Validation issue. Complete example

Use yuiCorePassiveRenderItem

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

cpu · source-example · type checked

using frontend.yui

// Turn YUI models into a working frontend and its rendering/input adapters.
yuiCorePassiveRenderItem sample = yuiCorePassiveRenderItem("owner Id", "kind", "state", "Player health", "icon", "resource State", yuiRenderBounds(1, 1, 1, 1), "clip Id", "layer Id", "target Id")
Console.Log(Text.From(sample.ownerId))
project.mech
manifestVersion = "2"
package = "api.example.frontend_yui__yuicorepassiverenderitem"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[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 = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiCorePassiveRenderItem.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 frontend.yui

// Validation issue.
yuiCorePassiveRenderItem instance = yuiCorePassiveRenderItem("owner Id", "kind", "state", "Player health", "icon", "resource State", yuiRenderBounds(1, 1, 1, 1), "clip Id", "layer Id", "target Id")
yuiDisplayList argument_display = yuiDisplayList("surface Id")
yuiCoreControlCatalog argument_catalog = yuiCoreControlCatalog()
text result = instance.ValidationIssue(argument_display, argument_catalog)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.frontend_yui__yuicorepassiverenderitem"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[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 = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
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/frontend/yui/controls-render-catalog_coverage.yh:8