{"id":"frontend.yui--CreateYuiCoreValueRenderItem","name":"CreateYuiCoreValueRenderItem","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external CreateYuiCoreValueRenderItem(text ownerId, text kind, text state, text label, int value, int minimum, int maximum, text orientation, bool indeterminate, yuiRenderBounds bounds, text clipId, text layerId, text focusLayerId, text targetId) returns yuiCoreValueRenderItem","description":"Create yui core value render item from the supplied values.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"ownerId","type":"text","description":"Supply owner id as text."},{"name":"kind","type":"text","description":"Supply kind as text."},{"name":"state","type":"text","description":"Supply state as text."},{"name":"label","type":"text","description":"Supply label as text."},{"name":"value","type":"int","description":"Supply value as int."},{"name":"minimum","type":"int","description":"Supply minimum as int."},{"name":"maximum","type":"int","description":"Supply maximum as int."},{"name":"orientation","type":"text","description":"Supply orientation as text."},{"name":"indeterminate","type":"bool","description":"Supply indeterminate as bool."},{"name":"bounds","type":"yuiRenderBounds","description":"Supply bounds as yuiRenderBounds."},{"name":"clipId","type":"text","description":"Supply clip id as text."},{"name":"layerId","type":"text","description":"Supply layer id as text."},{"name":"focusLayerId","type":"text","description":"Supply focus layer id as text."},{"name":"targetId","type":"text","description":"Supply target id as text."}],"returns":"yuiCoreValueRenderItem","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/controls-render-display_list.yh","line":862,"sha256":"25cf914848de80a2db443aafe9ea47b3e74dac4cf6827f04fbbec1cbe5141087"},"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 CreateYuiCoreValueRenderItem","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.\ntext ownerId = \"owner Id\"\ntext kind = \"kind\"\ntext state = \"state\"\ntext label = \"Player health\"\nint value = 1\nint minimum = 1\nint maximum = 1\ntext orientation = \"orientation\"\nbool indeterminate = true\nyuiRenderBounds bounds = yuiRenderBounds(1, 1, 1, 1)\ntext clipId = \"clip Id\"\ntext layerId = \"layer Id\"\ntext focusLayerId = \"focus Layer Id\"\ntext targetId = \"target Id\"\nyuiCoreValueRenderItem result = CreateYuiCoreValueRenderItem(ownerId, kind, state, label, value, minimum, maximum, orientation, indeterminate, bounds, clipId, layerId, focusLayerId, targetId)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__createyuicorevaluerenderitem\"\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":"cf1f25dd3e35f04353e1158e91dfe798b950549bfc84a8c37acdc07f646946fc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--CreateYuiCoreValueRenderItem","json":"https://demonhunterlabs.com/reference/items/frontend.yui--CreateYuiCoreValueRenderItem.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--CreateYuiCoreValueRenderItem.md"}
