graphics.render3d · function ·
CreateGraphics3DTextureRgba8V1
Create graphics3 dtexture rgba8 v1 from the supplied values.
Use bounded hardware 3D resources, meshes, cameras, lights, and draw commands.
external CreateGraphics3DTextureRgba8V1(text rgbaHex, int width, int height) returns intStatus: source-declared
Parameters
text rgbaHex- Supply rgba hex as text.
int width- Supply width as int.
int height- Supply height as int.
Use CreateGraphics3DTextureRgba8V1
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.
text rgbaHex = "rgba Hex"
int width = 1
int height = 1
int result = CreateGraphics3DTextureRgba8V1(rgbaHex, width, height)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_render3d__creategraphics3dtexturergba8v1"
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:96