enabled property

bool enabled
getter/setter pair

Whether this pass runs. A disabled pass is skipped entirely (it never consumes a buffer), so toggling it does not disturb the rest of the chain.

Implementation

bool enabled = true;