{"id":"ui--yuiRenderTargetColorCapabilityV1","name":"yuiRenderTargetColorCapabilityV1","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRenderTargetColorCapabilityV1","description":"A yui render target color capability v1 record carrying schema, schemaVersion, format, colorSpace, transfer, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"schema","kind":"field","type":"text","description":"Stores schema as text.","signature":"text schema","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"schemaVersion","kind":"field","type":"int","description":"Stores schema version as int.","signature":"int schemaVersion","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"format","kind":"field","type":"text","description":"Stores format as text.","signature":"text format","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"colorSpace","kind":"field","type":"text","description":"Stores color space as text.","signature":"text colorSpace","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"transfer","kind":"field","type":"text","description":"Stores transfer as text.","signature":"text transfer","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"alphaMode","kind":"field","type":"text","description":"Stores alpha mode as text.","signature":"text alphaMode","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"blendSpace","kind":"field","type":"text","description":"Stores blend space as text.","signature":"text blendSpace","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"textureSrgbEnforced","kind":"field","type":"bool","description":"Stores texture srgb enforced as bool.","signature":"bool textureSrgbEnforced","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"framebufferSrgbEnforced","kind":"field","type":"bool","description":"Stores framebuffer srgb enforced as bool.","signature":"bool framebufferSrgbEnforced","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"translucentFinalSurface","kind":"field","type":"bool","description":"Stores translucent final surface as bool.","signature":"bool translucentFinalSurface","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"offscreenComposition","kind":"field","type":"bool","description":"Stores offscreen composition as bool.","signature":"bool offscreenComposition","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":"yuiRenderTargetColorCapabilityV1","kind":"constructor","parameters":[{"name":"format","type":"text","description":"Format."},{"name":"colorSpace","type":"text","description":"Color space."},{"name":"transfer","type":"text","description":"Transfer."},{"name":"alphaMode","type":"text","description":"Alpha mode."},{"name":"blendSpace","type":"text","description":"Blend space."},{"name":"textureSrgbEnforced","type":"bool","description":"Texture srgb enforced."},{"name":"framebufferSrgbEnforced","type":"bool","description":"Framebuffer srgb enforced."},{"name":"translucentFinalSurface","type":"bool","description":"Translucent final surface."},{"name":"offscreenComposition","type":"bool","description":"Offscreen composition."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiRenderTargetColorCapabilityV1(text format, text colorSpace, text transfer, text alphaMode, text blendSpace, bool textureSrgbEnforced, bool framebufferSrgbEnforced, bool translucentFinalSurface, bool offscreenComposition, text source)","description":"Yui render target color capability v1.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-13","updated":"2026-09-09"},{"name":"SupportsCurrentCanvasV1","kind":"method","parameters":[],"returns":"bool","signature":"SupportsCurrentCanvasV1() returns bool","description":"Supports current canvas v1.","tags":["thing","method","ui"],"exampleId":"method-SupportsCurrentCanvasV1-14","updated":"2026-09-09"},{"name":"SupportsCurrentTranslucentCanvasV1","kind":"method","parameters":[],"returns":"bool","signature":"SupportsCurrentTranslucentCanvasV1() returns bool","description":"Supports current translucent canvas v1.","tags":["thing","method","ui"],"exampleId":"method-SupportsCurrentTranslucentCanvasV1-15","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","ui"],"exampleId":"method-Snapshot-16","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":601,"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 yuiRenderTargetColorCapabilityV1","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.\nyuiRenderTargetColorCapabilityV1 sample = yuiRenderTargetColorCapabilityV1(\"png\", \"color Space\", \"transfer\", \"alpha Mode\", \"blend Space\", true, true, true, true, \"example\")\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertargetcolorcapabilityv1\"\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":"039a631494e7e8fda75a959bc1d525498aad3a3debb223ee41d1eef7b118518c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-13","title":"yuiRenderTargetColorCapabilityV1.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiRenderTargetColorCapabilityV1 instance = yuiRenderTargetColorCapabilityV1(\"png\", \"color Space\", \"transfer\", \"alpha Mode\", \"blend Space\", true, true, true, true, \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertargetcolorcapabilityv1\"\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":"be0a255bda7f51eb62a9e8a96bfe78319cb7a745f50b6acef44bc2cfa41d8ae5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SupportsCurrentCanvasV1-14","title":"yuiRenderTargetColorCapabilityV1.SupportsCurrentCanvasV1","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Supports current canvas v1.\nyuiRenderTargetColorCapabilityV1 instance = yuiRenderTargetColorCapabilityV1(\"png\", \"color Space\", \"transfer\", \"alpha Mode\", \"blend Space\", true, true, true, true, \"example\")\nbool result = instance.SupportsCurrentCanvasV1()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertargetcolorcapabilityv1\"\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":"ea9b2e7797543255ce9b7ae23ab0c51ec916f343cf115f9229963094e43d7fc4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SupportsCurrentTranslucentCanvasV1-15","title":"yuiRenderTargetColorCapabilityV1.SupportsCurrentTranslucentCanvasV1","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Supports current translucent canvas v1.\nyuiRenderTargetColorCapabilityV1 instance = yuiRenderTargetColorCapabilityV1(\"png\", \"color Space\", \"transfer\", \"alpha Mode\", \"blend Space\", true, true, true, true, \"example\")\nbool result = instance.SupportsCurrentTranslucentCanvasV1()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertargetcolorcapabilityv1\"\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":"4b63b9df531089b17d784313847092cc5353cc4d4551b0f849c82f1211741e5f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-16","title":"yuiRenderTargetColorCapabilityV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Snapshot.\nyuiRenderTargetColorCapabilityV1 instance = yuiRenderTargetColorCapabilityV1(\"png\", \"color Space\", \"transfer\", \"alpha Mode\", \"blend Space\", true, true, true, true, \"example\")\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertargetcolorcapabilityv1\"\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":"45b4e68ff51591e933aedfae42114c67e69a1906be82b5be8a1635289c40b62b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","schemaVersion","format","colorSpace","transfer","alphaMode","blendSpace","textureSrgbEnforced","framebufferSrgbEnforced","translucentFinalSurface","offscreenComposition","source","yuiRenderTargetColorCapabilityV1","ValidationIssue","SupportsCurrentCanvasV1","SupportsCurrentTranslucentCanvasV1","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRenderTargetColorCapabilityV1","json":"https://demonhunterlabs.com/reference/items/ui--yuiRenderTargetColorCapabilityV1.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRenderTargetColorCapabilityV1.md"}
