Cog/Utils/NSView+Visibility.h
Christopher Snowhill 1728debe94 [Visualizer] Bring back CoreGraphics visualizer
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>
2022-06-08 21:32:52 -07:00

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 */