Skip to content

GPU access

Status: Not available. Every CLight mod runs in a sandbox, so raw Vulkan access (gpu.native) is not offered: a mod with the device handles could read and write any GPU memory of the game and crash the driver.

Rendering mods use the sandboxed rendering APIs instead: models and textures from resource packs and GUI drawing today; baked model providers, instanced entity models, an immediate draw API, custom GLSL programs, post effects and render targets are planned (Rendering internals for mods, Rendering (blocks, entities, items), Render stages, shaders and post effects). They keep your content on Celestial’s fast paths on every GPU tier, including integrated GPUs, and they are batched with the engine’s own draws.

If you need a capability these APIs don’t cover, describe the use case in an issue: the answer is a new sandboxed API, never a raw handle.