CIPlugInRegistration Protocol Reference

Adopted by
Framework
Library/Frameworks/QuartzCore.framework
Availability
OS X v10.4 and later
Declared in
CIPlugInInterface.h
Companion guides
Related sample code

Overview

The CIPlugInRegistration protocol defines a method for loading Core Image image units. The principal class of an image unit bundle must support this protocol.

Tasks

Initializing Plug-ins

Instance Methods

load:

Loads and initializes an image unit, performing custom tasks as needed. (required)

- (BOOL)load:(void *)host
Parameters
host

Reserved for future use.

Return Value

Returns true if the image unit is successfully initialized

Discussion

The load method is called once by the host to initialize the image unit when the first filter in the image unit is instantiated. The method provides the image unit with an opportunity to perform custom initialization, such as a registration check.

Availability
  • OS X v10.4 and later.
Declared In
CIPlugInInterface.h