기술 자료

Unity Engine

Unity Engine

GetCallableShaderCount(RayTracingShader)

Returns the number of callable shaders defined whitin a given RayTracingShader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int GetCallableShaderCount(RayTracingShader s)

Parameters

Returns

Type

Description

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

Remarks