Wednesday, April 6, 2011

Re: [android-developers] OpenGL ES 2.0 Shader Access Client Memory

Hi Jonathan,
    OpenGL specifically disallows you from specifying such implementation details like shared memory, though it may be possible through an obscure platform specific API. It sounds like vertex arrays do exactly what you need though, you specify a pointer in "client" memory which is read when you call glDraw*().

As for quads, if I remember correctly, quads are absent from OpenGL ES, however you can achieve the same effect by using four vertices and six indices in a triangle list. It's slightly less convenient, but not that bad.

Cheers,
Dan

On Apr 6, 2011 4:32 PM, "Jonathan" <Jonathan@minescape.ca> wrote:

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate