Renderer · interface
SdfTextHandle
One SDF text label: a string laid out as flat, textured quads from a distance-field font.
Opaque for the reason MeshHandle explains, and for TextHandle's own reason too — the
concrete class on each backend holds a WebGL2RenderingContext or a GPUDevice's buffers
privately, so no shared type could name one without this.
Explained in Hello world.
interface SdfTextHandleimport type { SdfTextHandle } from '@driftengine/core';