Version: 2023.1
public Rendering.RayTracingSubMeshFlags alphaTestedMaterials ;

描述

The corresponding RayTracingSubMeshFlags value for alpha tested Materials.

Using RayTracingSubMeshFlags.Enabled alone will allow the GPU to execute any hit shaders where a ray-geometry hit can be reported based on an alpha test.

See Also: RayTracingAccelerationStructure.CullInstances.