CommandBuffer.SetRayTracingShaderPass

Switch to Manual
public void SetRayTracingShaderPass (Experimental.Rendering.RayTracingShader rayTracingShader, string passName);

Parameters

rayTracingShader RayTracingShader to set parameter for.
passNameName of the shader pass to be used.

Description

Adds a command to set the pass for the RayTracingShader to be used.

The shader pass name is specified in the ShaderLab Pass from a .shader file.