Class ImageImporter¶
Namespace: Apogee.Content.Import
Assembly: Apogee.Content.dll
PNG and JPEG images into KTX 2 files with their mip chains, GPU-compressed (
public sealed class ImageImporter : IAssetImporter
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
Extensions¶
The extensions it takes, with the dot, in lower case.
public IReadOnlyList<string> Extensions { get; }
Property Value¶
Fingerprint¶
Everything that changes what it writes and is not in the asset or its .import.xml: its own version, the version and the options of the tools it calls.
public string Fingerprint { get; }
Property Value¶
Name¶
Names the importer in the key.
public string Name { get; }
Property Value¶
Methods¶
Import(ImportContext)¶
The artifact of the asset, or null when the asset is not one (a shader module that only other shaders import): it then has no entry in the index.
public ImportResult? Import(ImportContext context)
Parameters¶
context ImportContext
Returns¶
Exceptions¶
The asset cannot be imported.