I'm having trouble figuring out how to do this in OpenGL ES 2.0. I've searched and searched and could not find an answer to how to do this. I've used a book and done it in DirectX Before which was pretty straight forward, so I do understand how they work.

有帮助吗?

解决方案

Have a look at this Blog:

It has lots of stuff which will probably be interesting for you. And for every post sourcecode is provided.

For basic OpenGL ES 2.0 Setup on Android see:

An example for using an Index Buffer can be found here:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top