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 ( |
| Ktx2 | KTX2 image ( |
| Png | PNG image ( |
| Undefined | MIME type not specified or unrecognized. |
| WebP | WebP image ( |