<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCPlugInExecutionMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:@EA@QCPlugInExecutionMode"
  },
  "title" : "QCPlugInExecutionMode"
}
-->

# QCPlugInExecutionMode

Execution modes for custom patches.

```
struct QCPlugInExecutionMode
```

## Topics

### Constants

[`kQCPlugInExecutionModeProvider`](/documentation/Quartz/kQCPlugInExecutionModeProvider)

A provider execution mode. The custom patch executes on demand—that is, whenever data is requested of it, but at most once per frame.

[`kQCPlugInExecutionModeProcessor`](/documentation/Quartz/kQCPlugInExecutionModeProcessor)

A processor execution mode. The custom patch executes whenever its inputs change or if the time change (assuming it’s time-dependent).

[`kQCPlugInExecutionModeConsumer`](/documentation/Quartz/kQCPlugInExecutionModeConsumer)

A consumer execution mode. The custom patch always executes assuming the value of its Enable input port is `true`. (The Enable port is automatically added by the system.)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)