This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingSubMeshFlags.ClosestHitOnly

Description

When rays encounter this geometry, the geometry acts as though no any hit shader is present. The geometry is considered opaque.

It is recommended that apps use this flag liberally, as it can enable important ray-processing optimizations.