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

    Variable featureTextureAssetsConst

    featureTextureAssets: Feature = ...

    Texture assets: the loading of texture assets from the image formats the browser decodes, such as PNG, JPEG, WebP and AVIF, with the TextureHandler. Add it to AppOptions#features to load texture assets, including the textures of glTF files, fonts, sprites and cubemaps. Textures created in code do not need it. Other file formats need their own features, which bring this one: featureTextureBasis, featureTextureDds, featureTextureKtx and featureTextureHdr.

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