Synced
AssetLoader.Constructor
Section titled “AssetLoader.Constructor”
- Creates an asset loader for one source and Library root pair.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.Pipeline.AssetLoader.AssetLoader(Inno.Extensibility.Types.TypeCatalog types, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Identity.IdentityAllocator identities, Inno.Core.Diagnostics.DiagnosticHub diagnostics, Inno.Core.Logging.LogRouter logs, string assetRoot, string libraryRoot, Inno.Assets.Pipeline.AssetSourcePolicy? sourcePolicy = null)Parameters
Section titled “Parameters”Parameter types: The immutable type-generation owner used to discover importers and resolve asset types.
Parameter serialization: The serialization registry used for catalog, metadata, and asset state persistence.
Parameter identities: The identity allocator that owns every canonical asset loaded by this instance.
Parameter logs: The explicitly owned router receiving importer and catalog diagnostics.
Parameter diagnostics: The diagnostic hub that owns import, build, catalog, and reference reports.
Parameter assetRoot: The absolute source root.
Parameter libraryRoot: The absolute rebuildable Library root.
Parameter sourcePolicy: The source filtering policy, or null for defaults.