Vuo  2.3.2
VuoGraphicsLayer.h
Go to the documentation of this file.
1 
10 #import "module.h"
11 #import "VuoDisplayRefresh.h"
12 #import "VuoGlContext.h"
13 #import "VuoWindow.h"
14 #import "VuoGraphicsWindow.h"
15 
22 #pragma clang diagnostic push
23 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
24 @interface VuoGraphicsLayer : CAOpenGLLayer
25 #pragma clang diagnostic pop
26 
27 @property(assign) VuoGraphicsWindow *window;
29 //@property NSRect viewport; ///< The position and size of the viewport (subset of the view that we're actually drawing on), in pixels.
30 
31 - (instancetype)initWithWindow:(VuoGraphicsWindow *)window
32  initCallback:(VuoGraphicsWindowInitCallback)initCallback
33  updateBackingCallback:(VuoGraphicsWindowUpdateBackingCallback)updateBackingCallback
34  backingScaleFactor:(float)backingScaleFactor
35  resizeCallback:(VuoGraphicsWindowResizeCallback)resizeCallback
36  drawCallback:(VuoGraphicsWindowDrawCallback)drawCallback
37  userData:(void *)userData;
39 - (void)enableTriggers;
40 - (void)disableTriggers;
41 - (void)close;
42 - (void)draw;
43 @end