graphics.image.processing · function ·
BindGraphicsImagePresentationColorRegionV1
Bind graphics image presentation color region v1.
Transform image data through the package's explicit processing contracts.
external BindGraphicsImagePresentationColorRegionV1(graphicsImagePresentationColorPolicyV1 policy, text samplingDependencyIdentity, text regionDependencyIdentity, text destinationContentIdentity, graphicsImageRgb8V1 tint, graphicsImageRgba8V1 destinationPixel, int opacity, text source) returns graphicsImagePreparedPresentationColorBindingV1Status: source-declared
Parameters
graphicsImagePresentationColorPolicyV1 policy- Supply policy as graphicsImagePresentationColorPolicyV1.
text samplingDependencyIdentity- Supply sampling dependency identity as text.
text regionDependencyIdentity- Supply region dependency identity as text.
text destinationContentIdentity- Supply destination content identity as text.
graphicsImageRgb8V1 tint- Supply tint as graphicsImageRgb8V1.
graphicsImageRgba8V1 destinationPixel- Supply destination pixel as graphicsImageRgba8V1.
int opacity- Supply opacity as int.
text source- Supply source as text.
Use BindGraphicsImagePresentationColorRegionV1
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.
graphicsImagePresentationColorPolicyV1 policy = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
text samplingDependencyIdentity = "sampling Dependency Identity"
text regionDependencyIdentity = "region Dependency Identity"
text destinationContentIdentity = "destination Content Identity"
graphicsImageRgb8V1 tint = graphicsImageRgb8V1(1, 1, 1)
graphicsImageRgba8V1 destinationPixel = graphicsImageRgba8V1(1, 1, 1, 1)
int opacity = 1
text source = "example"
graphicsImagePreparedPresentationColorBindingV1 result = BindGraphicsImagePresentationColorRegionV1(policy, samplingDependencyIdentity, regionDependencyIdentity, destinationContentIdentity, tint, destinationPixel, opacity, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__bindgraphicsimagepresentationcolorregionv1"
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:249