MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / loadFontEx

Function loadFontEx

src/text/index.ts:32–35  ·  view source on GitHub ↗
(path: string, size: number)

Source from the content-addressed store, hash-verified

30}
31
32export function loadFontEx(path: string, size: number): Font {
33 const handle = bloom_load_font(path as any, size);
34 return { handle, size };
35}
36
37export function unloadFont(font: Font): void {
38 bloom_unload_font(font.handle);

Callers

nothing calls this directly

Calls 1

bloom_load_fontFunction · 0.50

Tested by

no test coverage detected