• 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: Core Data with OpenGL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data with OpenGL


  • Subject: Re: Core Data with OpenGL
  • From: Richard Somers <email@hidden>
  • Date: Mon, 12 Oct 2009 13:13:29 -0600

On Oct 12, 2009, at 12:04 PM, Kyle Sluder wrote:

This is typically where the controller layer would come in. A controller-layer object would know of the GL context and of the insertion/removal of objects in the MOC, and create resources accordingly.

I think I can perhaps see light at the end of the tunnel. My model objects are controlled by a NSObjectController or NSArrayController instance. So I would subclass these and add the required code to setup and teardown the required OpenGL resources. Still the draw method is in the managed object model class and it needs to know about the OpenGL resource objects created in the controller. Hum ... still thinking.


Richard

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Core Data with OpenGL (From: Richard Somers <email@hidden>)
 >Re: Core Data with OpenGL (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: TIFFRepresentation, different TIFF format under Snow Leopard
  • Next by Date: More Core Data Questions
  • Previous by thread: Re: Core Data with OpenGL
  • Next by thread: Re: Core Data with OpenGL
  • Index(es):
    • Date
    • Thread