Vuo
2.4.4
Loading...
Searching...
No Matches
library
VuoGraphicsLayer.h
Go to the documentation of this file.
1
10
#import "
VuoDisplayRefresh.h
"
11
#import "
VuoGlContext.h
"
12
#import "
VuoWindow.h
"
13
#import "
VuoGraphicsWindow.h
"
14
21
#pragma clang diagnostic push
22
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
23
@interface
VuoGraphicsLayer
: CAOpenGLLayer
24
#pragma clang diagnostic pop
25
26
@property
(assign)
VuoGraphicsWindow
*
window
;
27
@property
VuoIoSurface
ioSurface
;
28
//@property NSRect viewport; ///< The position and size of the viewport (subset of the view that we're actually drawing on), in pixels.
29
30
- (instancetype)initWithWindow:(
VuoGraphicsWindow
*)window
31
initCallback:(
VuoGraphicsWindowInitCallback
)initCallback
32
updateBackingCallback:(
VuoGraphicsWindowUpdateBackingCallback
)updateBackingCallback
33
backingScaleFactor:(
float
)backingScaleFactor
34
resizeCallback:(
VuoGraphicsWindowResizeCallback
)resizeCallback
35
drawCallback:(
VuoGraphicsWindowDrawCallback
)drawCallback
36
userData:(
void
*)userData;
37
- (void)
viewDidChangeBackingProperties
;
38
- (void)
enableTriggers
;
39
- (void)
disableTriggers
;
40
- (void)
close
;
41
- (void)
draw
;
42
@end
Generated on Thu Nov 9 2023 16:59:29 for Vuo by
1.9.8