Version: 2020.2
言語: 日本語

ShaderInfo

struct in UnityEditor

マニュアルに切り替える

説明

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.

変数

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