{"id":"graphics.text--graphicsGlyphAlphaCacheV1","name":"graphicsGlyphAlphaCacheV1","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsGlyphAlphaCacheV1","description":"A graphics glyph alpha cache v1 record carrying maximumEntries, maximumBytes, entries, liveBytes, clock, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"maximumEntries","kind":"field","type":"int","description":"Stores maximum entries as int.","signature":"int maximumEntries","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"maximumBytes","kind":"field","type":"int","description":"Stores maximum bytes as int.","signature":"int maximumBytes","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"entries","kind":"field","type":"list of graphicsGlyphAlphaCacheEntryV1","description":"Stores entries as list of graphicsGlyphAlphaCacheEntryV1.","signature":"list of graphicsGlyphAlphaCacheEntryV1 entries","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"liveBytes","kind":"field","type":"int","description":"Stores live bytes as int.","signature":"int liveBytes","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"clock","kind":"field","type":"int","description":"Stores clock as int.","signature":"int clock","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"hits","kind":"field","type":"int","description":"Stores hits as int.","signature":"int hits","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"misses","kind":"field","type":"int","description":"Stores misses as int.","signature":"int misses","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"evictions","kind":"field","type":"int","description":"Stores evictions as int.","signature":"int evictions","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsGlyphAlphaCacheV1","kind":"constructor","parameters":[{"name":"maximumEntries","type":"int","description":"Maximum entries."},{"name":"maximumBytes","type":"int","description":"Maximum bytes."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsGlyphAlphaCacheV1(int maximumEntries, int maximumBytes, text source)","description":"Graphics glyph alpha cache v1.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"ConfigurationIssue","kind":"method","parameters":[],"returns":"text","signature":"ConfigurationIssue() returns text","description":"Configuration issue.","tags":["thing","method","graphics.text"],"exampleId":"method-ConfigurationIssue-10","updated":"2026-09-09"},{"name":"Find","kind":"method","parameters":[{"name":"id","type":"text","description":"Id."}],"returns":"int","signature":"Find(text id) returns int","description":"Find.","tags":["thing","method","graphics.text"],"exampleId":"method-Find-11","updated":"2026-09-09"},{"name":"Require","kind":"method","parameters":[{"name":"id","type":"text","description":"Id."}],"returns":"bool","signature":"Require(text id) returns bool","description":"Require.","tags":["thing","method","graphics.text"],"exampleId":"method-Require-12","updated":"2026-09-09"},{"name":"EvictOldest","kind":"method","parameters":[],"returns":"bool","signature":"EvictOldest() returns bool","description":"Evict oldest.","tags":["thing","method","graphics.text"],"exampleId":"method-EvictOldest-13","updated":"2026-09-09"},{"name":"Admit","kind":"method","parameters":[{"name":"resource","type":"graphicsGlyphAlphaResourceV1","description":"Resource."}],"returns":"bool","signature":"Admit(graphicsGlyphAlphaResourceV1 resource) returns bool","description":"Admit.","tags":["thing","method","graphics.text"],"exampleId":"method-Admit-14","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.text"],"exampleId":"method-Snapshot-15","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text","method","source-example","text","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/glyph_alpha_resources_v1.yh","line":363,"sha256":"be961dc717c917cc7eb2a980f3791bfe085187acdeabdf685c2c8db744a66748"},"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 graphicsGlyphAlphaCacheV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ngraphicsGlyphAlphaCacheV1 sample = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\nConsole.Log(Text.From(sample.maximumEntries))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"d44fc66c40c6e6b6ff95ffb0c0783c7f0a2583f1d60565d1f54153fa5858146f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ConfigurationIssue-10","title":"graphicsGlyphAlphaCacheV1.ConfigurationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Configuration issue.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\ntext result = instance.ConfigurationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c5c4efddc896c0437dfdc81838162e6c7b33281d3fb7143277cf7606ad3c923d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Find-11","title":"graphicsGlyphAlphaCacheV1.Find","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Find.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\ntext argument_id = \"argument id\"\nint result = instance.Find(argument_id)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"6f4162335c333750aab9804bba60cb435a437263ac59868c4dc3619dcac5b028","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Require-12","title":"graphicsGlyphAlphaCacheV1.Require","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Require.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\ntext argument_id = \"argument id\"\nbool result = instance.Require(argument_id)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"9a328a51724444551e2f42c8087af832165bf31b3e91d57392b222d084fbdf02","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-EvictOldest-13","title":"graphicsGlyphAlphaCacheV1.EvictOldest","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Evict oldest.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\nbool result = instance.EvictOldest()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"9b98aeae7164f45cc1a5d43357c31229e58d464518ed41cc19664b4a81aef495","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Admit-14","title":"graphicsGlyphAlphaCacheV1.Admit","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Admit.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\ngraphicsGlyphAlphaResourceV1 argument_resource = graphicsGlyphAlphaResourceV1(1, \"id\", 1, 1, 4, 4, \"payload Hex\", \"example\")\nbool result = instance.Admit(argument_resource)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"6fb7c595878da71ceac9a435f895f711a1041892f1fed93b7e4a5c153c869a19","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-15","title":"graphicsGlyphAlphaCacheV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Snapshot.\ngraphicsGlyphAlphaCacheV1 instance = graphicsGlyphAlphaCacheV1(1, 4, \"example\")\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphalphacachev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"f7c780b80ec7048e169543c5a27636561885dbd4504063c78c2fbf50338bfa99","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["maximumEntries","maximumBytes","entries","liveBytes","clock","hits","misses","evictions","source","graphicsGlyphAlphaCacheV1","ConfigurationIssue","Find","Require","EvictOldest","Admit","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsGlyphAlphaCacheV1","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsGlyphAlphaCacheV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsGlyphAlphaCacheV1.md"}
