public override bool CanDrawInCGLContext( OpenGL.CGLContext glContext, OpenGL.CGLPixelFormat pixelFormat, double timeInterval, ref CVTimeStamp timeStamp) { return(_version != _dirtyVersion); }
public override void DrawInCGLContext(OpenGL.CGLContext glContext, OpenGL.CGLPixelFormat pixelFormat, double timeInterval, ref CVTimeStamp timeStamp) { _version = _dirtyVersion; _draw(); base.DrawInCGLContext(glContext, pixelFormat, timeInterval, ref timeStamp); }