Engine API Reference - v2.25.0-beta.13
    Preparing search index...

    Variable featureFontAssetsConst

    featureFontAssets: Feature = ...

    Font assets: the loading of font assets, the bitmap and multi-channel signed distance field (MSDF) fonts of text elements, with the FontHandler, and the shader chunks that render the text of MSDF fonts, for both WebGL and WebGPU devices. Add it to AppOptions#features to load font assets and render the text of MSDF fonts. Canvas fonts, which render their glyphs into textures at runtime, do not need it. It brings featureTextureAssets, which loads the texture pages of the fonts.

    const options = new AppOptions();
    options.features = [featureFontAssets];