graphics.image.processing · function ·
GraphicsImagePreparedPresentationRegionIdentityV1
This identity names every immutable dependency that can change the prepared region bytes. The source pixel is intentionally absent: the sampling/content dependency names the complete source region instead of formatting one key per texel.
Transform image data through the package's explicit processing contracts.
external GraphicsImagePreparedPresentationRegionIdentityV1(graphicsImagePresentationColorPolicyV1 policy, text samplingDependencyIdentity, text regionDependencyIdentity, text destinationContentIdentity, graphicsImageRgb8V1 tint, graphicsImageRgba8V1 destinationPixel, int opacity) returns textStatus: 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.
Use GraphicsImagePreparedPresentationRegionIdentityV1
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 result = GraphicsImagePreparedPresentationRegionIdentityV1(policy, samplingDependencyIdentity, regionDependencyIdentity, destinationContentIdentity, tint, destinationPixel, opacity)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepreparedpresentationregionidentityv1"
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:244