graphics.image.processing · function ·
PresentGraphicsImagePreparedLinearPixelUncheckedV1
Deliberately validation-free pixel kernel. Its preconditions are established by BindGraphicsImagePresentationColorRegionV1 and the prepared sampling binding. This function performs only integer arithmetic, prepared LUT reads, and construction of the final RGBA8 value.
Transform image data through the package's explicit processing contracts.
external PresentGraphicsImagePreparedLinearPixelUncheckedV1(graphicsImagePreparedPresentationColorBindingV1 original binding, graphicsImageLinearPremultipliedV1 sourceLinear) returns graphicsImageRgba8V1Status: source-declared
Parameters
graphicsImagePreparedPresentationColorBindingV1 original binding- Supply binding as graphicsImagePreparedPresentationColorBindingV1 original.
graphicsImageLinearPremultipliedV1 sourceLinear- Supply source linear as graphicsImageLinearPremultipliedV1.
Use PresentGraphicsImagePreparedLinearPixelUncheckedV1
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.
graphicsImagePreparedPresentationColorBindingV1 binding = graphicsImagePreparedPresentationColorBindingV1(graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example"), "example")
graphicsImageLinearPremultipliedV1 sourceLinear = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)
graphicsImageRgba8V1 result = PresentGraphicsImagePreparedLinearPixelUncheckedV1(binding, sourceLinear)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__presentgraphicsimagepreparedlinearpixeluncheckedv1"
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/presentation_color_v1.yh:356