Version: 2020.1

CommandBuffer.SetRayTracingShaderPass

切换到手册
public void SetRayTracingShaderPass (Experimental.Rendering.RayTracingShader rayTracingShader, string passName);

参数

rayTracingShader 要为其设置参数的 RayTracingShader
passName Name of the shader pass to be used.

描述

添加用于为要使用的 RayTracingShader 设置通道的命令。

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