deniedShaderPasses
An array of Shader Pass names used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public string[] deniedShaderPasses
Remarks
If a Shader contains a Shader Pass from the list then the acceleration structure will ignore the Renderer or the sub-mesh using the Shader.