ShaderCompilerData
Collection of data used for shader variants generation, including targeted platform data and the keyword set representing a specific shader variant.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
public struct ShaderCompilerData
Fields
Value | Description |
|---|---|
| platformKeywordSet | A collection of ShaderKeyword that represents a specific platform shader variant. |
| shaderKeywordSet | A collection of ShaderKeyword that represents a specific shader variant. |
Properties
Property | Description |
|---|---|
| buildTarget | The build target to compile the shader variant for. (Read Only) |
| graphicsTier | A GraphicsTier classifies low, medium and high performance hardware. You can only set a Graphics Tier in the Built-in Render Pipeline. |
| shaderCompilerPlatform | Shader compiler used to generate player data shader variants. |
| shaderRequirements | Shader features required by a specific shader. |