Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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 5 days ago

Definition

public struct ShaderCompilerData

Fields

Value

Description

platformKeywordSetA collection of ShaderKeyword that represents a specific platform shader variant.
shaderKeywordSetA collection of ShaderKeyword that represents a specific shader variant.

Properties

Property

Description

buildTargetThe build target to compile the shader variant for. (Read Only)
graphicsTierA GraphicsTier classifies low, medium and high performance hardware. You can only set a Graphics Tier in the Built-in Render Pipeline.
shaderCompilerPlatformShader compiler used to generate player data shader variants.
shaderRequirementsShader features required by a specific shader.