PreprocessorOverride

enumeration

Cambiar al Manual

Descripción

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.

Variables

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