Version: 2023.1
public string[] deniedShaderPasses ;

描述

An array of Shader Pass names used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.

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.

RayTracingAccelerationStructure.CullInstances.