Version: 2021.2
언어: 한국어

PreprocessedVariant

struct in UnityEditor

매뉴얼로 전환

설명

Represents the results of preprocessing a variant using ShaderData.Pass.PreprocessVariant.

변수

MessagesStores errors and warnings produced during preprocessing (Read Only).
PreprocessedCodeStores the preprocessed code for the shader variant (Read Only).
SuccessIndicates whether the variant preprocessing succeeded (Read Only). If it did, this is true. Otherwise, this is false and ShaderData.PreprocessedVariant.Messages contains the errors.