Version: 2018.2

ShaderInfo

struct in UnityEditor

Switch to Manual

Description

Contains the following information about a shader: -If the shader has compilation errors. -If the shader is supported on the currently selected platform. -The name of the shader.

Variables

hasErrorsTrue if the shader has compilation errors.
nameThe name of the shader.
supportedTrue if the shader is supported on the currently selected platform.