API

Class EXT_texture_avifExperimental

Implements

  • IGLTFExporterExtensionV2
Index
enabled: boolean = true

Defines whether this extension is enabled

name: "EXT_texture_avif" = NAME

The name of this extension

required: boolean = true

Gets a boolean indicating that this extension is required for the file to work

  • Experimental

    Called after a texture is exported to register the encoded image MIME type.

    Parameters

    • _: string

      the name of the exported babylon texture (unused)

    • textureInfo: ITextureInfo

      the glTF texture info for the exported texture

    Returns void