ShaderHasWarnings(Shader)
Checks if a shader has any compilation warnings. Ignores errors.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool ShaderHasWarnings(Shader shader)
Parameters
The shader to check for compilation warnings.
Returns
Type | Description |
|---|---|
| bool | Returns true if the shader has any compilation warnings. Otherwise, returns false. |