{"id":"ui--yuiRetainedFragmentCache","name":"yuiRetainedFragmentCache","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRetainedFragmentCache","description":"A yui retained fragment cache record carrying surfaceId, width, height, fragments, semanticFragments, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"surfaceId","kind":"field","type":"text","description":"Stores surface id as text.","signature":"text surfaceId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"fragments","kind":"field","type":"list of yuiRetainedOwnerFragment","description":"Stores fragments as list of yuiRetainedOwnerFragment.","signature":"list of yuiRetainedOwnerFragment fragments","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"semanticFragments","kind":"field","type":"list of yuiRetainedSemanticFragment","description":"Stores semantic fragments as list of yuiRetainedSemanticFragment.","signature":"list of yuiRetainedSemanticFragment semanticFragments","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"ownerIndex","kind":"field","type":"yuiRetainedKeyIndex","description":"Stores owner index as yuiRetainedKeyIndex.","signature":"yuiRetainedKeyIndex ownerIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"semanticOwnerIndex","kind":"field","type":"yuiRetainedKeyIndex","description":"Stores semantic owner index as yuiRetainedKeyIndex.","signature":"yuiRetainedKeyIndex semanticOwnerIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"dependencyIndex","kind":"field","type":"yuiRetainedDependencyIndex","description":"Stores dependency index as yuiRetainedDependencyIndex.","signature":"yuiRetainedDependencyIndex dependencyIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialColumns","kind":"field","type":"int","description":"Stores spatial columns as int.","signature":"int spatialColumns","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialRows","kind":"field","type":"int","description":"Stores spatial rows as int.","signature":"int spatialRows","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialCellWidth","kind":"field","type":"int","description":"Stores spatial cell width as int.","signature":"int spatialCellWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialCellHeight","kind":"field","type":"int","description":"Stores spatial cell height as int.","signature":"int spatialCellHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialBuckets","kind":"field","type":"list of yuiRetainedSpatialBucket","description":"Stores spatial buckets as list of yuiRetainedSpatialBucket.","signature":"list of yuiRetainedSpatialBucket spatialBuckets","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialCellBuckets","kind":"field","type":"list of int","description":"Stores spatial cell buckets as list of int.","signature":"list of int spatialCellBuckets","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialBucketEpochs","kind":"field","type":"list of int","description":"Stores spatial bucket epochs as list of int.","signature":"list of int spatialBucketEpochs","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialOwnerEpochs","kind":"field","type":"list of int","description":"Stores spatial owner epochs as list of int.","signature":"list of int spatialOwnerEpochs","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialReplayEpoch","kind":"field","type":"int","description":"Stores spatial replay epoch as int.","signature":"int spatialReplayEpoch","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialMemberships","kind":"field","type":"int","description":"Stores spatial memberships as int.","signature":"int spatialMemberships","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"spatialMembershipWrites","kind":"field","type":"int","description":"Stores spatial membership writes as int.","signature":"int spatialMembershipWrites","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pendingDamage","kind":"field","type":"list of yuiRetainedDamageRegion","description":"Stores pending damage as list of yuiRetainedDamageRegion.","signature":"list of yuiRetainedDamageRegion pendingDamage","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"touchedOwners","kind":"field","type":"int","description":"Stores touched owners as int.","signature":"int touchedOwners","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"rebuiltOwners","kind":"field","type":"int","description":"Stores rebuilt owners as int.","signature":"int rebuiltOwners","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"compositedOwners","kind":"field","type":"int","description":"Stores composited owners as int.","signature":"int compositedOwners","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"touchedSemanticOwners","kind":"field","type":"int","description":"Stores touched semantic owners as int.","signature":"int touchedSemanticOwners","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"frameOwnerIndexProbes","kind":"field","type":"int","description":"Stores frame owner index probes as int.","signature":"int frameOwnerIndexProbes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"frameSpatialCellProbes","kind":"field","type":"int","description":"Stores frame spatial cell probes as int.","signature":"int frameSpatialCellProbes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"frameSpatialBucketsExamined","kind":"field","type":"int","description":"Stores frame spatial buckets examined as int.","signature":"int frameSpatialBucketsExamined","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"frameSpatialOwnersExamined","kind":"field","type":"int","description":"Stores frame spatial owners examined as int.","signature":"int frameSpatialOwnersExamined","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"frameReplayOwners","kind":"field","type":"int","description":"Stores frame replay owners as int.","signature":"int frameReplayOwners","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pendingSemanticUpdates","kind":"field","type":"list of yuiRetainedSemanticFragment","description":"Stores pending semantic updates as list of yuiRetainedSemanticFragment.","signature":"list of yuiRetainedSemanticFragment pendingSemanticUpdates","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"reason","kind":"field","type":"text","description":"Stores reason as text.","signature":"text reason","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"structuralDiagnostic","kind":"field","type":"text","description":"Stores structural diagnostic as text.","signature":"text structuralDiagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRetainedFragmentCache","kind":"constructor","parameters":[{"name":"surfaceId","type":"text","description":"Surface id."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"yuiRetainedFragmentCache(text surfaceId, int width, int height)","description":"Yui retained fragment cache.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"IndexOf","kind":"method","parameters":[{"name":"ownerId","type":"text","description":"Owner id."}],"returns":"int","signature":"IndexOf(text ownerId) returns int","description":"Index of.","tags":["thing","method","ui"],"exampleId":"method-IndexOf-34","updated":"2026-09-09"},{"name":"SemanticIndexOf","kind":"method","parameters":[{"name":"ownerId","type":"text","description":"Owner id."}],"returns":"int","signature":"SemanticIndexOf(text ownerId) returns int","description":"Semantic index of.","tags":["thing","method","ui"],"exampleId":"method-SemanticIndexOf-35","updated":"2026-09-09"},{"name":"SpatialBucketForCell","kind":"method","parameters":[{"name":"cellX","type":"int","description":"Cell x."},{"name":"cellY","type":"int","description":"Cell y."},{"name":"create","type":"bool","description":"Create."}],"returns":"int","signature":"SpatialBucketForCell(int cellX, int cellY, bool create) returns int","description":"Spatial bucket for cell.","tags":["thing","method","ui"],"exampleId":"method-SpatialBucketForCell-36","updated":"2026-09-09"},{"name":"IndexFragmentSpatially","kind":"method","parameters":[{"name":"fragment","type":"yuiRetainedOwnerFragment original","description":"Fragment."},{"name":"ownerIndex","type":"int","description":"Owner index."}],"returns":"void","signature":"IndexFragmentSpatially(yuiRetainedOwnerFragment original fragment, int ownerIndex)","description":"Index fragment spatially.","tags":["thing","method","ui"],"exampleId":"method-IndexFragmentSpatially-37","updated":"2026-09-09"},{"name":"RemoveFragmentSpatially","kind":"method","parameters":[{"name":"fragment","type":"yuiRetainedOwnerFragment original","description":"Fragment."},{"name":"ownerIndex","type":"int","description":"Owner index."}],"returns":"void","signature":"RemoveFragmentSpatially(yuiRetainedOwnerFragment original fragment, int ownerIndex)","description":"Remove fragment spatially.","tags":["thing","method","ui"],"exampleId":"method-RemoveFragmentSpatially-38","updated":"2026-09-09"},{"name":"SpatialCoverageEqual","kind":"method","parameters":[{"name":"leftBounds","type":"yuiRenderBounds","description":"Left bounds."},{"name":"rightBounds","type":"yuiRenderBounds","description":"Right bounds."}],"returns":"bool","signature":"SpatialCoverageEqual(yuiRenderBounds leftBounds, yuiRenderBounds rightBounds) returns bool","description":"Spatial coverage equal.","tags":["thing","method","ui"],"exampleId":"method-SpatialCoverageEqual-39","updated":"2026-09-09"},{"name":"RegisterInitial","kind":"method","parameters":[{"name":"fragment","type":"yuiRetainedOwnerFragment","description":"Fragment."}],"returns":"bool","signature":"RegisterInitial(yuiRetainedOwnerFragment fragment) returns bool","description":"Register initial.","tags":["thing","method","ui"],"exampleId":"method-RegisterInitial-40","updated":"2026-09-09"},{"name":"RegisterInitialSemantic","kind":"method","parameters":[{"name":"fragment","type":"yuiRetainedSemanticFragment","description":"Fragment."}],"returns":"bool","signature":"RegisterInitialSemantic(yuiRetainedSemanticFragment fragment) returns bool","description":"Register initial semantic.","tags":["thing","method","ui"],"exampleId":"method-RegisterInitialSemantic-41","updated":"2026-09-09"},{"name":"BeginFrame","kind":"method","parameters":[{"name":"reason","type":"text","description":"Reason."}],"returns":"bool","signature":"BeginFrame(text reason) returns bool","description":"Begin frame.","tags":["thing","method","ui"],"exampleId":"method-BeginFrame-42","updated":"2026-09-09"},{"name":"AddDamage","kind":"method","parameters":[{"name":"requested","type":"yuiRenderBounds","description":"Requested."}],"returns":"void","signature":"AddDamage(yuiRenderBounds requested)","description":"Add damage.","tags":["thing","method","ui"],"exampleId":"method-AddDamage-43","updated":"2026-09-09"},{"name":"ApplyCandidate","kind":"method","parameters":[{"name":"candidate","type":"yuiRetainedOwnerFragment","description":"Candidate."}],"returns":"bool","signature":"ApplyCandidate(yuiRetainedOwnerFragment candidate) returns bool","description":"Apply candidate.","tags":["thing","method","ui"],"exampleId":"method-ApplyCandidate-44","updated":"2026-09-09"},{"name":"ApplySemanticCandidate","kind":"method","parameters":[{"name":"candidate","type":"yuiRetainedSemanticFragment","description":"Candidate."}],"returns":"bool","signature":"ApplySemanticCandidate(yuiRetainedSemanticFragment candidate) returns bool","description":"Apply semantic candidate.","tags":["thing","method","ui"],"exampleId":"method-ApplySemanticCandidate-45","updated":"2026-09-09"},{"name":"ReplaySpatially","kind":"method","parameters":[{"name":"plan","type":"yuiRetainedFramePlan original","description":"Plan."}],"returns":"void","signature":"ReplaySpatially(yuiRetainedFramePlan original plan)","description":"Replay spatially.","tags":["thing","method","ui"],"exampleId":"method-ReplaySpatially-46","updated":"2026-09-09"},{"name":"IntersectsDamage","kind":"method","parameters":[{"name":"bounds","type":"yuiRenderBounds","description":"Bounds."}],"returns":"bool","signature":"IntersectsDamage(yuiRenderBounds bounds) returns bool","description":"Intersects damage.","tags":["thing","method","ui"],"exampleId":"method-IntersectsDamage-47","updated":"2026-09-09"},{"name":"Plan","kind":"method","parameters":[],"returns":"yuiRetainedFramePlan","signature":"Plan() returns yuiRetainedFramePlan","description":"Plan.","tags":["thing","method","ui"],"exampleId":"method-Plan-48","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-50-retained-fragments.yh","line":651,"sha256":"1062403654e37b95d0b190990ad54290638b64d047aa164ee82220bd91ac0674"},"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 yuiRetainedFragmentCache","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.\nyuiRetainedFragmentCache sample = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nConsole.Log(Text.From(sample.surfaceId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"130fdaafb4f3af028061048316083870f2b89d979bc837aa164c3a556ddd37f9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IndexOf-34","title":"yuiRetainedFragmentCache.IndexOf","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Index of.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\ntext argument_ownerId = \"argument owner Id\"\nint result = instance.IndexOf(argument_ownerId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"98bc3a45d383909ad35ed02bda49b56c2d3bfa2e60e443819b1e21e37ed2db9a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SemanticIndexOf-35","title":"yuiRetainedFragmentCache.SemanticIndexOf","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Semantic index of.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\ntext argument_ownerId = \"argument owner Id\"\nint result = instance.SemanticIndexOf(argument_ownerId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"3990c806295cca0043e11376a3dbf4c7457a842810feefe63964a70c3211b336","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SpatialBucketForCell-36","title":"yuiRetainedFragmentCache.SpatialBucketForCell","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Spatial bucket for cell.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nint argument_cellX = 1\nint argument_cellY = 1\nbool argument_create = true\nint result = instance.SpatialBucketForCell(argument_cellX, argument_cellY, argument_create)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"c2b6f4afd04066142c7f4dcf016af193850b236ff9344e74c265a5bf4400f6b0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IndexFragmentSpatially-37","title":"yuiRetainedFragmentCache.IndexFragmentSpatially","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Index fragment spatially.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedOwnerFragment argument_fragment = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nint argument_ownerIndex = 1\ninstance.IndexFragmentSpatially(argument_fragment, argument_ownerIndex)\nConsole.Log(\"IndexFragmentSpatially completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"9e39905a49e160b74055026b8961f1e11ff4f22574402cca744b49a81b99284a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RemoveFragmentSpatially-38","title":"yuiRetainedFragmentCache.RemoveFragmentSpatially","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Remove fragment spatially.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedOwnerFragment argument_fragment = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nint argument_ownerIndex = 1\ninstance.RemoveFragmentSpatially(argument_fragment, argument_ownerIndex)\nConsole.Log(\"RemoveFragmentSpatially completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"3bf08dd4dbe2236c11ddc9fe830839e135b7d49925cb3c0cf89b50da68fa45b4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SpatialCoverageEqual-39","title":"yuiRetainedFragmentCache.SpatialCoverageEqual","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Spatial coverage equal.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRenderBounds argument_leftBounds = yuiRenderBounds(1, 1, 1, 1)\nyuiRenderBounds argument_rightBounds = yuiRenderBounds(1, 1, 1, 1)\nbool result = instance.SpatialCoverageEqual(argument_leftBounds, argument_rightBounds)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"100dfbad554395f3d25b49c9ffed3b25aff175902ea18450bff91372506b8ad2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RegisterInitial-40","title":"yuiRetainedFragmentCache.RegisterInitial","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Register initial.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedOwnerFragment argument_fragment = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nbool result = instance.RegisterInitial(argument_fragment)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"939230622b7076330a19dcf76d182d09d86547bb12119feaedea8cabe6bc44ce","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RegisterInitialSemantic-41","title":"yuiRetainedFragmentCache.RegisterInitialSemantic","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Register initial semantic.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedSemanticFragment argument_fragment = yuiRetainedSemanticFragment(\"owner Id\", 1, \"semantic Identity\", \"example\")\nbool result = instance.RegisterInitialSemantic(argument_fragment)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"b8e2403f6a73d63b485c255b48afa5e3b0817cabe6995bbe28c700c259748e48","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BeginFrame-42","title":"yuiRetainedFragmentCache.BeginFrame","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Begin frame.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\ntext argument_reason = \"argument reason\"\nbool result = instance.BeginFrame(argument_reason)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"346629e9dddf9bd74fcd95647b537ef2eadab271f40f41e77dfd343ed54f865a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddDamage-43","title":"yuiRetainedFragmentCache.AddDamage","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add damage.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRenderBounds argument_requested = yuiRenderBounds(1, 1, 1, 1)\ninstance.AddDamage(argument_requested)\nConsole.Log(\"AddDamage completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"8b21189cbcf442f7b7375ce1fc79b1858d2c0e0faf548b0cd7fef4bbae1766bf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ApplyCandidate-44","title":"yuiRetainedFragmentCache.ApplyCandidate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Apply candidate.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedOwnerFragment argument_candidate = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nbool result = instance.ApplyCandidate(argument_candidate)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"790165f760a9c0d13ce127a77e95f9684bd5f0baed8dfc6385040b707afbf520","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ApplySemanticCandidate-45","title":"yuiRetainedFragmentCache.ApplySemanticCandidate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Apply semantic candidate.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedSemanticFragment argument_candidate = yuiRetainedSemanticFragment(\"owner Id\", 1, \"semantic Identity\", \"example\")\nbool result = instance.ApplySemanticCandidate(argument_candidate)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"e9b37f6320113cd5fce993e80b346784e9f7f2855d2bdf971a883361d522095f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ReplaySpatially-46","title":"yuiRetainedFragmentCache.ReplaySpatially","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Replay spatially.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedFramePlan argument_plan = yuiRetainedFramePlan(\"surface Id\", \"reason\")\ninstance.ReplaySpatially(argument_plan)\nConsole.Log(\"ReplaySpatially completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"5a19eef526c3155cced5547a953765bf461f4f520dcb9a748d942141b72f5775","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IntersectsDamage-47","title":"yuiRetainedFragmentCache.IntersectsDamage","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Intersects damage.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRenderBounds argument_bounds = yuiRenderBounds(1, 1, 1, 1)\nbool result = instance.IntersectsDamage(argument_bounds)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"e622d0e6c82593bdb2999de61b111e970f6501de767d405d14cb799787dfd413","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Plan-48","title":"yuiRetainedFragmentCache.Plan","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Plan.\nyuiRetainedFragmentCache instance = yuiRetainedFragmentCache(\"surface Id\", 1, 1)\nyuiRetainedFramePlan result = instance.Plan()\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedfragmentcache\"\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":"b98944304473c82ee002faba0281c06f86079e04d8f25691cec65a4d297481d0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["surfaceId","width","height","fragments","semanticFragments","ownerIndex","semanticOwnerIndex","dependencyIndex","spatialColumns","spatialRows","spatialCellWidth","spatialCellHeight","spatialBuckets","spatialCellBuckets","spatialBucketEpochs","spatialOwnerEpochs","spatialReplayEpoch","spatialMemberships","spatialMembershipWrites","pendingDamage","touchedOwners","rebuiltOwners","compositedOwners","touchedSemanticOwners","frameOwnerIndexProbes","frameSpatialCellProbes","frameSpatialBucketsExamined","frameSpatialOwnersExamined","frameReplayOwners","pendingSemanticUpdates","reason","structuralDiagnostic","diagnostic","yuiRetainedFragmentCache","IndexOf","SemanticIndexOf","SpatialBucketForCell","IndexFragmentSpatially","RemoveFragmentSpatially","SpatialCoverageEqual","RegisterInitial","RegisterInitialSemantic","BeginFrame","AddDamage","ApplyCandidate","ApplySemanticCandidate","ReplaySpatially","IntersectsDamage","Plan"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRetainedFragmentCache","json":"https://demonhunterlabs.com/reference/items/ui--yuiRetainedFragmentCache.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRetainedFragmentCache.md"}
