Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Returns

Type

Description

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

Remarks