Disabled
Don't use any shader, effectively disabling the functionality.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Disabled = 0
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. For more information on migrating to URP, refer to Migrating from the Built-In Render Pipeline to URP.
This is primarily used as a build size optimization, for example if you know the project never uses deferred shading, you could disable support for it in Graphics Settings and save some build data size.
When BuiltinShaderType.DeferredReflections is disabled, then in deferred shading the reflection probes are done in per-object way, instead of a separate deferred per-pixel reflections pass.