Version: 2022.3
言語: 日本語

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.