• 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: Troy Stephens <email@hidden>
  • Date: Mon, 5 Jul 2004 22:23:43 -0700

On Jul 5, 2004, at 9:28 PM, Jesse Thompson wrote:
Just a quick question... I'm writing a GUI frontend in Objective-C++,
and then doing all of my graphics work in C++ classes. Is it going to
be possible for my C++ code / classes to talk to the Cocoa window? 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?

No problem there. Just have your GL view's -drawRect: method send whatever C++ messages invoke your GL rendering calls.

Troy Stephens
Cocoa frameworks, Apple
_______________________________________________
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: erasing, redrawing NSBezierPath into and NSImage problem
  • Next by Date: Kernel crash
  • Previous by thread: OpenGL, Objective-C++, and C++
  • Next by thread: Re: OpenGL, Objective-C++, and C++
  • Index(es):
    • Date
    • Thread