Version: 2021.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.