[osg-users] DrawElements* memory management

2009-03-19 Thread Paul Martz
Hi Robert -- I have a question about how the DrawElements* family of PrimitiveSets handles the pointer to the indices. In OpenGL, data is bound/copied at call time, so if I were writing a plain ol' OpenGL app and calling glDrawElements, I'd pass in a pointer to my index data, and when the call

Re: [osg-users] DrawElements* memory management

2009-03-19 Thread Paul Martz
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Thursday, March 19, 2009 2:35 PM To: 'OpenSceneGraph Users' Subject: [osg-users] DrawElements* memory management Hi Robert -- I have a question about how the DrawElements* family

Re: [osg-users] DrawElements* memory management

2009-03-19 Thread Jason Daly
Paul Martz wrote: Ignore this post. The answer is: DrawElementsUInt is a VectorGLuint. Of course, I had to post and show my ignorance first before I figured that out. :-/ Good. For a minute there, I thought I was missing something. :-) --J ___