ShaderUtil.GetCallableShaderName

Cambiar al Manual
public static string GetCallableShaderName (Experimental.Rendering.RayTracingShader s, int shaderIndex);

Parámetros

sThe RayTracingShader instance.
shaderIndexThe callable Shader index for which to retrieve the name. The callable Shaders defined in a RayTracingShader are sorted alphabetically by the Shader compiler.

Valor de retorno

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

Descripción

Returns the name of a user-defined callable Shader from within a RayTracingShader.