Documentation

Unity Engine

Unity Engine

GetMissShaderName(RayTracingShader, int)

Returns the name of a user-defined miss Shader from within a RayTracingShader.
Read time 1 minuteLast updated a month ago

Definition

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

Parameters


shaderIndex

The miss Shader index for which to retrieve the name.

Returns

Type

Description

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

Remarks