---
title: QCPlugInContext
framework: quartz
role: symbol
role_heading: Protocol
path: quartz/qcplugincontext
---

# QCPlugInContext

The QCPlugInContext protocol defines methods that you use only from within the execution method (execute(_:atTime:withArguments:)) of a QCPlugIn object.

## Declaration

```swift
protocol QCPlugInContext
```

## Topics

### Getting the OpenGL Context

- [cglContextObj()](quartz/qcplugincontext/cglcontextobj().md)

### Getting Execution Context Information

- [userInfo()](quartz/qcplugincontext/userinfo().md)
- [bounds()](quartz/qcplugincontext/bounds().md)
- [colorSpace()](quartz/qcplugincontext/colorspace().md)

### Getting an Image Provider

- [outputImageProviderFromBuffer(withPixelFormat:pixelsWide:pixelsHigh:baseAddress:bytesPerRow:releaseCallback:releaseContext:colorSpace:shouldColorMatch:)](quartz/qcplugincontext/outputimageproviderfrombuffer(withpixelformat:pixelswide:pixelshigh:baseaddress:bytesperrow:releasecallback:releasecontext:colorspace:shouldcolormatch:).md)
- [outputImageProviderFromTexture(withPixelFormat:pixelsWide:pixelsHigh:name:flipped:releaseCallback:releaseContext:colorSpace:shouldColorMatch:)](quartz/qcplugincontext/outputimageproviderfromtexture(withpixelformat:pixelswide:pixelshigh:name:flipped:releasecallback:releasecontext:colorspace:shouldcolormatch:).md)

### Instance Methods

- [compositionURL()](quartz/qcplugincontext/compositionurl().md)

## See Also

### Protocols

- [QCCompositionParameterViewDelegate](quartz/qccompositionparameterviewdelegate.md)
- [QCCompositionPickerViewDelegate](quartz/qccompositionpickerviewdelegate.md)
- [QCCompositionRenderer](quartz/qccompositionrenderer.md)
- [QCPlugInInputImageSource](quartz/qcplugininputimagesource.md)
- [QCPlugInOutputImageProvider](quartz/qcpluginoutputimageprovider.md)
