Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingConfig.materialTest

切换到手册

描述

A Material-based test used in RayTracingAccelerationStructure.CullInstances.

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.

See Also: RayTracingAccelerationStructure.