Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


variantGenerationMode

The variant generation mode override.
Read time 1 minuteLast updated 13 days ago

Definition

public ShaderBuildSettings.ShaderVariantGenerationMode variantGenerationMode

Remarks

This effectively determines the keyword type of the specified keyword declaration. It can either keep the original type declared in each individual shader or force the type to
multi_compile
,
shader_feature
or
dynamic_branch
.