GetCallableShaderName(RayTracingShader, int)
Returns the name of a user-defined callable Shader from within a RayTracingShader.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static string GetCallableShaderName(RayTracingShader s, int shaderIndex)
Parameters
Returns
Type | Description |
|---|---|
| string | The name of the callable Shader at the index passed using the "shaderIndex" argument. |
Remarks
Additional Resources: ShaderUtil.GetCallableShaderCount, ShaderUtil.GetCallableShaderParamSize.