ShaderInfo
Contains the following information about a shader: -If the shader has compilation errors or warnings. -If the shader is supported on the currently selected platform. -The name of the shader.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct ShaderInfo
Properties
Property | Description |
|---|---|
| hasErrors | Indicates whether the shader has compilation errors (Read Only). |
| hasWarnings | Indicates whether the shader has compilation warnings (Read Only). |
| name | The name of the shader (Read Only). |
| supported | Indicates whether the current platform supports the shader (Read Only). |