{"id":"ui--yuiRenderResource","name":"yuiRenderResource","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRenderResource","description":"A yui render resource record carrying id, kind, generation, sizeBytes, resident, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"kind","kind":"field","type":"text","description":"Stores kind as text.","signature":"text kind","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"generation","kind":"field","type":"int","description":"Stores generation as int.","signature":"int generation","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"sizeBytes","kind":"field","type":"int","description":"Stores size bytes as int.","signature":"int sizeBytes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"resident","kind":"field","type":"bool","description":"Stores resident as bool.","signature":"bool resident","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"semanticRole","kind":"field","type":"text","description":"Stores semantic role as text.","signature":"text semanticRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRenderResource","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"kind","type":"text","description":"Kind."},{"name":"generation","type":"int","description":"Generation."},{"name":"sizeBytes","type":"int","description":"Size bytes."},{"name":"resident","type":"bool","description":"Resident."},{"name":"semanticRole","type":"text","description":"Semantic role."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiRenderResource(text id, text kind, int generation, int sizeBytes, bool resident, text semanticRole, text source)","description":"Yui render resource.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-8","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-00-definitions.yh","line":127,"sha256":"ffe87f06297c002c1b58e5728706712c19229c0c62ccc6729603984094373b51"},"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 yuiRenderResource","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiRenderResource sample = yuiRenderResource(\"id\", \"kind\", 1, 4, true, \"semantic Role\", \"example\")\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirenderresource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"403730b5cb4c6701a510d3f5450188220f06d11ea281f5d2b65a16cce2976ae4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"yuiRenderResource.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiRenderResource instance = yuiRenderResource(\"id\", \"kind\", 1, 4, true, \"semantic Role\", \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirenderresource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"46974c249e428a378542f13d9ecb351ca1c97791a3fbecd4a3c051a9ae11bfad","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","kind","generation","sizeBytes","resident","semanticRole","source","yuiRenderResource","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRenderResource","json":"https://demonhunterlabs.com/reference/items/ui--yuiRenderResource.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRenderResource.md"}
