ShaderData.PreprocessedVariant
Represents the results of preprocessing a variant using ShaderData.Pass.PreprocessVariant.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct ShaderData.PreprocessedVariant
Properties
Property | Description |
|---|---|
| Messages | Stores errors and warnings produced during preprocessing (Read Only). |
| PreprocessedCode | Stores the preprocessed code for the shader variant (Read Only). |
| Success | Indicates whether the variant preprocessing succeeded (Read Only). If it did, this is true. Otherwise, this is false and ShaderData.PreprocessedVariant.Messages contains the errors. |