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 |