subGeometriesValidation
Whether to validate the entries in the subGeometries array relative to vertexBuffer and indexBuffer buffers.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool subGeometriesValidation { readonly get; set; }
Remarks
Unity validates the ranges specified in the entries in the 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.
RayTracingSubGeometryDescsubGeometriesAdditional Resources: RayTracingSubGeometryDesc.