{"id":"graphics.image.processing--graphicsImageSamplingBindingV1","name":"graphicsImageSamplingBindingV1","owner":"yeho","package":"graphics.image.processing","kind":"thing","signature":"external thing graphicsImageSamplingBindingV1","description":"A graphics image sampling binding v1 record carrying available, policy, cost, srgbToLinear16, cacheIdentity, and related state.","context":"Transform image data through the package's explicit processing contracts.","parameters":[],"returns":"void","members":[{"name":"available","kind":"field","type":"bool","description":"Stores available as bool.","signature":"bool available","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"policy","kind":"field","type":"graphicsImageSamplingPolicyV1","description":"Stores policy as graphicsImageSamplingPolicyV1.","signature":"graphicsImageSamplingPolicyV1 policy","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"cost","kind":"field","type":"graphicsImageSamplingCostV1","description":"Stores cost as graphicsImageSamplingCostV1.","signature":"graphicsImageSamplingCostV1 cost","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"srgbToLinear16","kind":"field","type":"list of int","description":"Stores srgb to linear16 as list of int.","signature":"list of int srgbToLinear16","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"cacheIdentity","kind":"field","type":"text","description":"Stores cache identity as text.","signature":"text cacheIdentity","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"graphicsImageSamplingBindingV1","kind":"constructor","parameters":[{"name":"policy","type":"graphicsImageSamplingPolicyV1","description":"Policy."}],"returns":"void","signature":"graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1 policy)","description":"Graphics image sampling binding v1.","tags":["thing","constructor","graphics.image.processing"],"updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-Snapshot-7","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.image.processing","image","method","processing","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/processing/filter_color_v1.yh","line":520,"sha256":"cadbb989f7058f1fad34453e9d3f8c298787936ddfdd4575067d3f3b6a8a3f92"},"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 graphicsImageSamplingBindingV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.image.processing\n\n// Transform image data through the package's explicit processing contracts.\ngraphicsImageSamplingBindingV1 sample = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\"))\nConsole.Log(Text.From(sample.available))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingbindingv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1f18e6a12b45c8ce0b6f882a1dcf71c2498f116552c934ba4712cb53223a54fd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-7","title":"graphicsImageSamplingBindingV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Snapshot.\ngraphicsImageSamplingBindingV1 instance = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\"))\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingbindingv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"2abfbc894c3950b05c136785f24c2c90ea858395ab54d7d058ca53bbb199d716","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["available","policy","cost","srgbToLinear16","cacheIdentity","diagnostic","graphicsImageSamplingBindingV1","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image.processing--graphicsImageSamplingBindingV1","json":"https://demonhunterlabs.com/reference/items/graphics.image.processing--graphicsImageSamplingBindingV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image.processing--graphicsImageSamplingBindingV1.md"}
