logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum PrefetchStrategy

    Enumeration defining different strategies for asset prefetching.
    Determines when and how assets are loaded into the cache.

    Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
    Assembly: Serenity.AssetPrefetcher.Domain.dll
    Syntax
    public enum PrefetchStrategy

    Fields

    Name Description
    OnDemand

    Load assets only when explicitly requested, no predictive loading.

    PrewarmAll

    Preload all assets upfront during initialization for maximum performance.

    SlidingWindow

    Load assets in a sliding window based on current context or proximity.

    In this article
    © 2026 Serenity. All Rights Reserved