Re: OpenGL, Objective-C++, and C++
Re: OpenGL, Objective-C++, and C++
- Subject: Re: OpenGL, Objective-C++, and C++
- From: Chris Hanson <email@hidden>
- Date: Mon, 5 Jul 2004 23:08:22 -0700
On Jul 5, 2004, at 9:28 PM, Jesse Thompson wrote:
In
other words, I would like to keep all of the interface coding in
Objective-C++, but then have all of my graphics work done in C++ and
in C++ classes, but have that graphics work communicate with the GUI's
NSOpenGLView window. So is that doable?
Yes. What you'll probably want is to create C++ objects that actually
set up your OpenGL context and perform the actual drawing, and then
instantiate and call them from within an Objective-C++ NSOpenGLView
subclass.
-- Chris
--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.