TextureImage - a builder for a GLTF image object

Hierarchy

  • default<{ bufferView: BufferView; mimeType: SupportedMimeType; uri: string }>
    • TextureImage

Methods

  • Sets the mime-type for the image. Must be set if providing data via bufferView

    Parameters

    • mimeType: "image/jpeg" | "image/png"

      must be one of "image/jpeg", "image/png"

    Returns TextureImage

    this