Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderUtil.GetCallableShaderCount

Declaration

public static int GetCallableShaderCount(Rendering.RayTracingShader s);

Parameters

s The RayTracingShader instance.

Returns

int The number of callable Shaders defined in the RayTracingShader instance passed as argument.

Description

Returns the number of callable Shaders defined whitin a given RayTracingShader.