enabled property

bool enabled
getter/setter pair

Whether screen-space reflections run. Off by default. When false the scene adds no reflection passes and the image is unaffected.

Enabling this schedules the shared camera depth prepass (also used by ambient occlusion); the reflection trace reads it.

Implementation

bool enabled = false;