★ TouchArcade needs your help. Click here to support us on Patreon.

stencil buffer support?

09-30-2009, 04:37 AM
Joined: Sep 2009
Posts: 11
stencil buffer support?

Does the latest iphone sdk 3.0 implementation of opengl es 2.0 support stencil buffers?
09-30-2009, 01:38 PM
Joined: Nov 2008
Posts: 942
The functions for stencil buffers already existed in the previous SDKs, but the Power VR GPUs used in iPhone and iPod touch didn't support it. The Power VR SGX in iPhone 3GS and iPod touch 3G is supporting stencil buffers, but I haven't tested it yet. Usually the functionality can be emulated with depth buffer.