ドキュメント

Unity Engine

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public struct ShaderInfo

Properties

Property

Description

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).