Table of Contents

Struct AssetLoadContext<T>

Namespace
Shard.Assets
Assembly
Shard.Assets.dll

Exposes one complete private asset candidate while its load callbacks run.

public readonly ref struct AssetLoadContext<T> where T : notnull

Type Parameters

T
Inherited Members

Remarks

The ref struct prevents retaining the context itself, while its immutable views carry no publication authority.

Properties

Assets

public AssetMap<T> Assets { get; }

Property Value

AssetMap<T>

Overrides

public PropertyOverrides<T> Overrides { get; }

Property Value

PropertyOverrides<T>

Registry

public AssetRegistry Registry { get; }

Property Value

AssetRegistry