Vuo
2.3.2
library
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
;
28
@property
VuoIoSurface
ioSurface
;
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;
38
- (void)
viewDidChangeBackingProperties
;
39
- (void)
enableTriggers
;
40
- (void)
disableTriggers
;
41
- (void)
close
;
42
- (void)
draw
;
43
@end
Generated on Sat Jun 19 2021 10:17:44 for Vuo by
1.9.1