Version: 2022.3
언어: 한국어

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