// generated by diplomat-tool import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * Phase of a running {@link MeshJob}. */ export class MeshPhase { /** @internal */ static fromValue(value: MeshPhase | string): MeshPhase; get value(): string; /** @internal */ get ffiValue(): number; /** * Scanning palettes / building the shared texture atlas. */ static BuildingAtlas : MeshPhase; /** * Meshing individual chunks (`current` / `total` advance here). */ static MeshingChunks : MeshPhase; /** * All chunks meshed; `take_result` will not block. */ static Complete : MeshPhase; /** * The job failed; `take_result` returns the error. */ static Failed : MeshPhase; constructor(value: MeshPhase | string ); }