기술 자료

Unity Engine

Unity Engine

variantGenerationMode

The variant generation mode override.
읽는 시간 1분최근 업데이트: 한 달 전

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
.