# usesLoadStoreActions

> True if the Graphics API takes RenderBufferLoadAction and RenderBufferStoreAction into account, false if otherwise.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static bool usesLoadStoreActions { get; }
```

### Remarks

Use this property to check if [RenderBufferLoadAction.DontCare](/engine/6000.5/script-reference/unityengine/rendering/renderbufferloadaction/dontcare.md) or [RenderBufferStoreAction.DontCare](/engine/6000.5/script-reference/unityengine/rendering/renderbufferstoreaction/dontcare.md) could result in actually discarding RT contents. For example, if you render with non-fullscreen ViewPort, you do not want to discard RT contents. Note that some Unity API can use [RenderBufferLoadAction.Clear](/engine/6000.5/script-reference/unityengine/rendering/renderbufferloadaction/clear.md) to clear a RenderTexture even if the Graphics API does not support [RenderBufferLoadAction.Clear](/engine/6000.5/script-reference/unityengine/rendering/renderbufferloadaction/clear.md) directly. In this case, Unity issues the normal Clear call.
