graphics.image.processing · thing ·

graphicsImageSamplingResultV1

A graphics image sampling result v1 record carrying available, linearPixel, outputPixel, cost, cacheIdentity, and related state.

cpugraphicsgraphics.image.processingimagemethodprocessingsource-examplethingyeho

Transform image data through the package's explicit processing contracts.

external thing graphicsImageSamplingResultV1

Status: source-declared

Fields and methods (9)
bool available
Stores available as bool.
graphicsImageLinearPremultipliedV1 linearPixel
Stores linear pixel as graphicsImageLinearPremultipliedV1.
graphicsImageRgba8V1 outputPixel
Stores output pixel as graphicsImageRgba8V1.
graphicsImageSamplingCostV1 cost
Stores cost as graphicsImageSamplingCostV1.
text cacheIdentity
Stores cache identity as text.
text diagnostic
Stores diagnostic as text.
text source
Stores source as text.
graphicsImageSamplingResultV1(text source)
Graphics image sampling result v1.
Snapshot() returns text
Snapshot. Complete example

Use graphicsImageSamplingResultV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.image.processing

// Transform image data through the package's explicit processing contracts.
graphicsImageSamplingResultV1 sample = graphicsImageSamplingResultV1("example")
Console.Log(Text.From(sample.available))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingresultv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

graphicsImageSamplingResultV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using graphics.image.processing

// Snapshot.
graphicsImageSamplingResultV1 instance = graphicsImageSamplingResultV1("example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingresultv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/image/processing/filter_color_v1.yh:639