Struct MemoryImage
MemoryImage structure
Represents an image file stored as an in-memory byte array
public struct MemoryImage : IEquatable<MemoryImage>
Constructors
Properties
| Name | Description |
|---|
| static Empty { get; } | |
| Content { get; } | Gets the file bytes of the image. |
| FileExtension { get; } | Gets the most appropriate extension string for this image. |
| IsDds { get; } | Gets a value indicating whether this object represents a valid DDS image. |
| IsEmpty { get; } | |
| IsExtendedFormat { get; } | Gets a value indicating whether this object represents an image backed by a glTF extension. |
| IsJpg { get; } | Gets a value indicating whether this object represents a valid JPG image. |
| IsKtx2 { get; } | Gets a value indicating whether this object represents a valid KTX2 image. |
| IsPng { get; } | Gets a value indicating whether this object represents a valid PNG image. |
| IsValid { get; } | Gets a value indicating whether this object represents a valid image. |
| IsWebp { get; } | Gets a value indicating whether this object represents a valid WEBP image. |
| MimeType { get; } | Gets the most appropriate Mime type string for this image. |
| SourcePath { get; } | Gets the source path of this image, or null. |
Methods
See Also