文档

Unity Engine

Unity Engine

GetClosestHitShaderName(RayTracingShader)

Returns the name of a user-defined closest hit shader from within a RayTracingShader.
阅读时间1 分钟最后更新于 14 小时前

Definition

public static string GetClosestHitShaderName(RayTracingShader s)

Parameters

Returns

Type

Description

stringThe name of the closest hit shader.