Documentation

Unity Engine

Download Unity

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)
shaderCompilerPlatformShader compiler used to generate player data shader variants.
shaderRequirementsShader features required by a specific shader.