Enabled
The sub-mesh is provided as input to a RayTracingAccelerationStructure build operation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Enabled = 1
Remarks
Unity does not consider a sub-mesh opaque if this is the only flag it has, and allows the GPU to invoke a user-defined any hit shader when a ray intersects with that sub-mesh. This can potentially impact GPU performance during acceleration structure traversal.