# subGeometriesValidation

> Whether to validate the entries in the subGeometries array relative to vertexBuffer and indexBuffer buffers.

## Definition

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

```csharp
public bool subGeometriesValidation { readonly get; set; }
```

### Remarks

Unity validates the ranges specified in the `RayTracingSubGeometryDesc` entries in the `subGeometries` array if the value is true. If the ranges are not valid, Unity throws an exception. You can disable this option before the release of your project for improved CPU performance.

Additional Resources: [RayTracingSubGeometryDesc](/engine/6000.7/script-reference/unityengine/rendering/raytracingsubgeometrydesc.md).
