logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.AssetPrefetcher.Application.Interfaces

    Interfaces

    IAssetKeyCatalog

    Neutral catalog that returns asset keys based on labels.
    Concrete implementation (Unity/Addressables) lives in Infrastructure layer.

    IAssetPrefetcherApp

    Application layer port for asset prefetching operations. Provides the main API that UI and gameplay systems use to declare prefetch intentions. Orchestrates use cases without exposing Addressables or infrastructure details.

    IAssetPrefetcherProvider

    Domain port for obtaining the asset prefetch service.
    Provides abstraction layer that does not expose composition details or singleton patterns.

    IAssetPrefetcherService

    Core interface for asset prefetching functionality. Provides methods to prefetch assets, manage contexts, and query cache status.

    IEvictionService

    Service responsible for cache eviction policies and victim selection.
    Determines which cached items should be removed when budget constraints are exceeded.

    In this article
    © 2026 Serenity. All Rights Reserved