graphics.canvas · function ·

TranslucentPresentationValueV1

Translucent final-surface diagnostics, scoped to the current provider target: 0=successful presents, 1=last submitted byte count, 2=packed diagnostic BGRA, 3=live DIB count, 4=live DIB bytes, 5=last native present success.

canvascpufunctiongraphicsgraphics.canvassource-exampleyeho

Draw 2D shapes, text, images, and composited interface content.

external TranslucentPresentationValueV1(int field) returns int

Status: source-declared

Parameters

int field
Supply field as int.

Use TranslucentPresentationValueV1

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.canvas

// Draw 2D shapes, text, images, and composited interface content.
int field = 1
int result = TranslucentPresentationValueV1(field)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_canvas__translucentpresentationvaluev1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"
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/canvas/canvas.yh:155