docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ImageMimeType

    The image's MIME type enumeration specifying the encoding of the image data.

    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter<ImageMimeType>))]
    public enum ImageMimeType
    Remarks

    Undefined doubles as the "not specified" state when used via EnumOrRawValue<TEnum>: glTF JSON never produces the literal Unknown MIME string, so the collapse between "absent mimeType" and "explicitly Unknown" is safe.

    Fields

    Name Description
    Jpeg

    JPEG image (image/jpeg).

    Ktx2

    KTX2 image (image/ktx2).

    Png

    PNG image (image/png).

    Undefined

    MIME type not specified or unrecognized.

    WebP

    WebP image (image/webp).

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)