GetMissShaderName(RayTracingShader, int)
Returns the name of a user-defined miss Shader from within a RayTracingShader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static string GetMissShaderName(RayTracingShader s, int shaderIndex)
Parameters
Returns
Type | Description |
|---|---|
| string | The name of the miss Shader at the index passed using the "shaderIndex" argument. |
Remarks
Additional Resources: ShaderUtil.GetMissShaderCount, ShaderUtil.GetMissShaderRayPayloadSize.