For legacy systems that do not support Metal. The Metal SceneKit view does work on even 10.13.6, if a Metal GPU is present in the system. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
17 lines
266 B
Objective-C
17 lines
266 B
Objective-C
//
|
|
// NSView+Visibility.h
|
|
// Cog
|
|
//
|
|
// Created by Christopher Snowhill on 6/8/22.
|
|
//
|
|
|
|
#ifndef NSView_Visibility_h
|
|
#define NSView_Visibility_h
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface NSView (Visibility)
|
|
- (BOOL)visibleInWindow;
|
|
@end
|
|
|
|
#endif /* NSView_Visibility_h */
|