Creates a CGLayer object from the provided parameters.
- macOS 10.4–10.11Deprecated
- Core Image
The size, in default user space units, of the layer relative to the graphics context.
A dictionary, which is passed to
Create With Context
NULLbecause this parameter is reserved for future use.
A CGLayer object.
After calling this method, Core Image draws content into the CGLayer object. Core Image creates a CGLayer object by calling the Quartz 2D function
init(_:, whose prototype is:
Core Image passes the
CIContext object as the
context parameter, the size as the
size parameter, and the dictionary as the
auxiliary parameter. For more information on CGLayer objects, see Quartz 2D Programming Guide and CGLayer.