# XcScheme.MetalValidation

> Metal API Validation.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.iOS.Xcode](/engine/6000.5/script-reference/unityeditor/ios/xcode.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
public enum XcScheme.MetalValidation
```

## Remarks

Use the members of the `MetalValidation` enumeration to set the /Metal API Validation/ option in the scheme of an Xcode project generated by Unity. These options determine the level of runtime Metal API validation.

Additional Resources: [XcScheme.SetMetalValidationOnRun](/engine/6000.5/script-reference/unityeditor/ios/xcode/xcscheme/setmetalvalidationonrun.md).

## Fields

| Value                                                                                                  | Description |
| ------------------------------------------------------------------------------------------------------ | ----------- |
| [Disabled](/engine/6000.5/script-reference/unityeditor/ios/xcode/xcscheme/metalvalidation/disabled.md) | Disabled.   |
| [Enabled](/engine/6000.5/script-reference/unityeditor/ios/xcode/xcscheme/metalvalidation/enabled.md)   | Enabled.    |
| [Extended](/engine/6000.5/script-reference/unityeditor/ios/xcode/xcscheme/metalvalidation/extended.md) | Extended.   |
