{"id":"frontend.yui--AppendYuiCorePassiveDisplayItem","name":"AppendYuiCorePassiveDisplayItem","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external AppendYuiCorePassiveDisplayItem(yuiDisplayList display, yuiCoreControlCatalog catalog, yuiCoreRenderMetrics metrics, yuiCorePassiveRenderItem item) returns yuiDisplayList","description":"Append yui core passive display item.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"display","type":"yuiDisplayList","description":"Supply display as yuiDisplayList."},{"name":"catalog","type":"yuiCoreControlCatalog","description":"Supply catalog as yuiCoreControlCatalog."},{"name":"metrics","type":"yuiCoreRenderMetrics","description":"Supply metrics as yuiCoreRenderMetrics."},{"name":"item","type":"yuiCorePassiveRenderItem","description":"Supply item as yuiCorePassiveRenderItem."}],"returns":"yuiDisplayList","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/controls-render-catalog_coverage.yh","line":321,"sha256":"69cf8c088a262b39ec7c6de9e9ecf0d51aeae73205aa54d7f09314738c368ac4"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use AppendYuiCorePassiveDisplayItem","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiDisplayList display = yuiDisplayList(\"surface Id\")\nyuiCoreControlCatalog catalog = yuiCoreControlCatalog()\nyuiCoreRenderMetrics metrics = yuiCoreRenderMetrics(\"density\", 1, 1, 1, 1, 1, 1, \"diagnostic\")\nyuiCorePassiveRenderItem item = yuiCorePassiveRenderItem(\"owner Id\", \"kind\", \"state\", \"Player health\", \"icon\", \"resource State\", yuiRenderBounds(1, 1, 1, 1), \"clip Id\", \"layer Id\", \"target Id\")\nyuiDisplayList result = AppendYuiCorePassiveDisplayItem(display, catalog, metrics, item)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__appendyuicorepassivedisplayitem\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"8f84baf3e8309a7589eba55b7fa5cfb3e0bdaf1b031cfb597e37621e519f4e3e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--AppendYuiCorePassiveDisplayItem","json":"https://demonhunterlabs.com/reference/items/frontend.yui--AppendYuiCorePassiveDisplayItem.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--AppendYuiCorePassiveDisplayItem.md"}
