# UniqueAnyHitCalls

> Enable this flag to guarantee that the GPU only invokes the any hit shader once for each ray-triangle pair.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
UniqueAnyHitCalls = 4
```

### Remarks

The flag can enable robust transparent shadows implementation for example.
