MonobjcMonobjc Documented Class Library
InitWithOpenGLContextPixelFormatFile Method (context, format, path)
NamespacesMonobjc.QuartzQCRendererInitWithOpenGLContextPixelFormatFile(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 virtual Id InitWithOpenGLContextPixelFormatFile(
	NSOpenGLContext context,
	NSOpenGLPixelFormat format,
	NSString path
)
Public Overridable Function InitWithOpenGLContextPixelFormatFile ( _
	context As NSOpenGLContext, _
	format As NSOpenGLPixelFormat, _
	path As NSString _
) As Id
public:
virtual Id^ InitWithOpenGLContextPixelFormatFile(
	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)