5 #import <Cocoa/Cocoa.h>
32 - (void)viewDidReshape:(nonnull NSView*)view;
37 - (BOOL)viewShouldAcceptFirstResponder:(nonnull NSView*)view;
50 - (nullable instancetype)initWithMTLDevice:(nonnull
id<MTLDevice>)device
51 commandQueue:(nonnull
id<MTLCommandQueue>)commandQueue
54 viewId:(int64_t)viewId NS_DESIGNATED_INITIALIZER;
56 - (nullable instancetype)initWithFrame:(NSRect)frameRect
57 pixelFormat:(nullable NSOpenGLPixelFormat*)format NS_UNAVAILABLE;
58 - (nonnull instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
59 - (nullable instancetype)initWithCoder:(nonnull NSCoder*)coder NS_UNAVAILABLE;
75 - (void)setBackgroundColor:(nonnull NSColor*)color;