deniedShaderPasses
An array of Shader Pass names used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public string[] deniedShaderPasses
Remarks
If a Shader contains a Shader Pass from the list, the acceleration structure ignores the Renderer or the sub-mesh that uses the Shader.