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.

Did you find this page useful? Please give it a rating: