{"id":"graphics.text--CreateGraphicsGlyphAlphaResourceV1","name":"CreateGraphicsGlyphAlphaResourceV1","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsGlyphAlphaResourceV1(int index, text id, int width, int height, int strideBytes, int sizeBytes, text payloadHex, text source) returns graphicsGlyphAlphaResourceV1","description":"Create graphics glyph alpha resource v1 from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"index","type":"int","description":"Supply index as int."},{"name":"id","type":"text","description":"Supply id as text."},{"name":"width","type":"int","description":"Supply width as int."},{"name":"height","type":"int","description":"Supply height as int."},{"name":"strideBytes","type":"int","description":"Supply stride bytes as int."},{"name":"sizeBytes","type":"int","description":"Supply size bytes as int."},{"name":"payloadHex","type":"text","description":"Supply payload hex as text."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsGlyphAlphaResourceV1","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/glyph_alpha_resources_v1.yh","line":495,"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 CreateGraphicsGlyphAlphaResourceV1","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.\nint index = 1\ntext id = \"id\"\nint width = 1\nint height = 1\nint strideBytes = 4\nint sizeBytes = 4\ntext payloadHex = \"payload Hex\"\ntext source = \"example\"\ngraphicsGlyphAlphaResourceV1 result = CreateGraphicsGlyphAlphaResourceV1(index, id, width, height, strideBytes, sizeBytes, payloadHex, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsglyphalpharesourcev1\"\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":"6b9e8a2156f49dfe44bf628d41cfc193b94ea0867adda7b7ecbf18adb26d1566","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsGlyphAlphaResourceV1","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsGlyphAlphaResourceV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsGlyphAlphaResourceV1.md"}
