docs.unity.cn
    Show / Hide Table of Contents

    Enum StoreActionsOptimization

    Defines if Unity discards or stores the render targets of the DrawObjects Passes. Selecting the Store option significantly increases the memory bandwidth on mobile and tile-based GPUs.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum StoreActionsOptimization

    Fields

    Name Description Value
    Auto

    Unity uses the Discard option by default, and falls back to the Store option if it detects any injected Passes.


    0
    Discard

    Unity discards the render targets of render Passes that are not reused later (lower memory bandwidth).


    1
    Store

    Unity stores all render targets of each Pass (higher memory bandwidth).


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023