ドキュメント

Unity Engine

Unity Engine

GetCallableShaderName(RayTracingShader, int)

Returns the name of a user-defined callable Shader from within a RayTracingShader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetCallableShaderName(RayTracingShader s, int shaderIndex)

Parameters


shaderIndex

The callable Shader index for which to retrieve the name.

Returns

Type

Description

stringThe name of the callable Shader at the index passed using the "shaderIndex" argument.

Remarks