Version: 2020.2
言語: 日本語

PreprocessorOverride

enumeration

マニュアルに切り替える

説明

Sets the preprocessor that Unity uses to compile this shader.

Note: the option to set the preprocessor is only available for vertex, fragment, geometry, tessellation and compute shaders.

変数

UseProjectSettingsUse the preprocessor defined in your Project's Editor Settings.
ForcePlatformPreprocessorUse the platform compilers' preprocessors.
ForceCachingPreprocessorUse the Caching Shader Preprocessor.