MonobjcMonobjc Documented Class Library
CanDrawInCGLContextPixelFormatForLayerTimeDisplayTime Method (glContext, pixelFormat, timeInterval, timeStamp)
NamespacesMonobjc.QuartzCoreCAOpenGLLayerCanDrawInCGLContextPixelFormatForLayerTimeDisplayTime(IntPtr, IntPtr, Double, IntPtr)

Returns whether the receiver should draw OpenGL content for the specified time.

Original signature is '- (BOOL)canDrawInCGLContext:(CGLContextObj)glContext pixelFormat:(CGLPixelFormatObj)pixelFormat forLayerTime:(CFTimeInterval)timeInterval displayTime:(const CVTimeStamp *)timeStamp'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool CanDrawInCGLContextPixelFormatForLayerTimeDisplayTime(
	IntPtr glContext,
	IntPtr pixelFormat,
	double timeInterval,
	IntPtr timeStamp
)
Public Overridable Function CanDrawInCGLContextPixelFormatForLayerTimeDisplayTime ( _
	glContext As IntPtr, _
	pixelFormat As IntPtr, _
	timeInterval As Double, _
	timeStamp As IntPtr _
) As Boolean
public:
virtual bool CanDrawInCGLContextPixelFormatForLayerTimeDisplayTime(
	IntPtr glContext, 
	IntPtr pixelFormat, 
	double timeInterval, 
	IntPtr timeStamp
)
Parameters
glContext (IntPtr)
The CGLContextObj in to which the OpenGL content would be drawn.
pixelFormat (IntPtr)
The pixel format used when the glContext was created.
timeInterval (Double)
The current layer time.
timeStamp (IntPtr)
The display timestamp associated with timeInterval. Can be null.
Return Value
YES if the receiver should render OpenGL content, NO otherwise.
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.AppKit (Module: Monobjc.AppKit)