Version: 2022.1
言語: 日本語

ShaderInfo

struct in UnityEditor

マニュアルに切り替える

説明

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.

変数

hasErrorsIndicates whether the shader has compilation errors (Read Only).
hasWarningsIndicates whether the shader has compilation warnings (Read Only).
nameThe name of the shader (Read Only).
supportedIndicates whether the current platform supports the shader (Read Only).