I have made a window with an NSOpenGLView that I am rendering openGL content into.
I want to add some buttons and text fields to the view: I can add NSTextFields and NSB
Simply call -setWantsLayer:YES on the subviews of the NSOpenGLView.
-setWantsLayer:YES