Protocol

QCPlugInContext

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

Declaration

protocol QCPlugInContext

Topics

Getting the OpenGL Context

func cglContextObj() -> CGLContextObj!

Returns the destination CGL context to use for OpenGL rendering from within the execution method.

Required.

Deprecated

Getting Execution Context Information

func userInfo() -> NSMutableDictionary!

Returns a mutable dictionary that contains information that can be shared between all instances of the QCPlugIn subclass, running in the same Quartz Composer context.

Required.

func bounds() -> NSRect

Returns the bounds of the rendering context.

Required.

func colorSpace() -> Unmanaged<CGColorSpace>!

Returns the color space used by the rendering context.

Required.

Instance Methods