GetCallableShaderCount(RayTracingShader)
Returns the number of callable Shaders defined whitin a given RayTracingShader.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetCallableShaderCount(RayTracingShader s)
Parameters
The RayTracingShader instance.
Returns
Type | Description |
|---|---|
| int | The number of callable Shaders defined in the RayTracingShader instance passed as argument. |
Remarks
Additional Resources: ShaderUtil.GetCallableShaderName, ShaderUtil.GetCallableShaderParamSize.