Initializes and returns a composition layer using the provided Quartz Composer composition.
Original signature is '- (id)initWithComposition:(QCComposition*)composition'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public QCCompositionLayer( QCComposition composition )
Public Sub New ( _ composition As QCComposition _ )
public: QCCompositionLayer( QCComposition^ composition )

- composition (QCComposition)
- The Quartz Composer composition to use as content.

The initialized QCCompositionLayer object or nil if initialization is not successful.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)