graphics.render3d · function ·

ReadGraphics3DPixelRgb8

Coordinates use the provider's bottom-left framebuffer origin. The result is packed 0x00RRGGBB, or -1 when the read is rejected.

cpufunctiongraphicsgraphics.render3drender3dsource-exampleyeho

Use bounded hardware 3D resources, meshes, cameras, lights, and draw commands.

external ReadGraphics3DPixelRgb8(int x, int y) returns int

Status: source-declared

Parameters

int x
Supply x as int.
int y
Supply y as int.

Use ReadGraphics3DPixelRgb8

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

// Use bounded hardware 3D resources, meshes, cameras, lights, and draw commands.
int x = 1
int y = 1
int result = ReadGraphics3DPixelRgb8(x, y)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_render3d__readgraphics3dpixelrgb8"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

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