# materialTest

> A Material-based test used in RayTracingAccelerationStructure.CullInstances.

## Definition

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

```csharp
public RayTracingInstanceCullingMaterialTest materialTest
```

### Remarks

This test can be used to ignore Materials that don't support ray tracing. If the test fails, the Renderer or the sub-mesh that uses the Material will be ignored when building the acceleration structure.

Additional Resources: [RayTracingAccelerationStructure](/engine/6000.5/script-reference/unityengine/rendering/raytracingaccelerationstructure.md).
