• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OpenGL, Objective-C++, and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >OpenGL, Objective-C++, and C++ (From: Jesse Thompson <email@hidden>)

  • Prev by Date: Re: Use different window than File Owner's in NIB
  • Next by Date: windowWillClose blues
  • Previous by thread: Re: OpenGL, Objective-C++, and C++
  • Next by thread: Kernel crash
  • Index(es):
    • Date
    • Thread