GetRayTracingShaderMessageCount(RayTracingShader)
Returns the number of errors and warnings generated by the Shader Compiler for the given RayTracingShader.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetRayTracingShaderMessageCount(RayTracingShader s)
Parameters
The RayTracingShader instance to check for messages.
Returns
Type | Description |
|---|---|
| int | The number of errors and warnings generated by the Shader Compiler. |