기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetRayGenerationShaderCount(RayTracingShader)

Returns the number of ray generation Shaders defined whitin a given RayTracingShader.
읽는 시간 1분최근 업데이트: 24일 전

Definition

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

Parameters

Returns

Type

Description

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

Remarks