MonobjcMonobjc Documented Class Library
QCRenderer Constructor (context, format, path)
NamespacesMonobjc.QuartzQCRendererQCRenderer(NSOpenGLContext, NSOpenGLPixelFormat, NSString)

Creates a renderer object with an NSOpenGLContext object and a composition file.

Original signature is '- (id)initWithOpenGLContext:(NSOpenGLContext *)context pixelFormat:(NSOpenGLPixelFormat *)format file:(NSString *)path'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public QCRenderer(
	NSOpenGLContext context,
	NSOpenGLPixelFormat format,
	NSString path
)
Public Sub New ( _
	context As NSOpenGLContext, _
	format As NSOpenGLPixelFormat, _
	path As NSString _
)
public:
QCRenderer(
	NSOpenGLContext^ context, 
	NSOpenGLPixelFormat^ format, 
	NSString^ path
)
Parameters
context (NSOpenGLContext)
An NSOpenGLContext object. The object that you supply must have both a color and a depth buffer.
format (NSOpenGLPixelFormat)
An NSOpenGLPixelFormat object.
path (NSString)
A string that specifies the location of a composition(.qtz) file.
Return Value
An initialized QCRenderer object or nil if initialization is not successful.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Quartz (Module: Monobjc.Quartz)