glGenFramebuffersOES vs glGenFramebuffers?
I am starting out with OpenGL ES. The example code that I am reading has a lot of functions whose names end in OES
. What does the OES
suffix mean? The non-OES coun开发者_如何学Cterparts have man pages but I cannot find any documentation on the *OES functions. Would it be okay to use the non-OES man pages as a reference?
The OES
-suffixed functions exist because framebuffer objects are supported via the OES_framebuffer_object
extension on OpenGL ES 1.1, but are part of the core specification in OpenGL ES 2.0 (and therefore don’t need an extension suffix).
The man pages for the non-suffixed OpenGL ES 2.0 functions should map pretty closely to the OES
-suffixed versions, as the rules for OES_framebuffer_object
also apply to framebuffer objects in OpenGL ES 2.0.
精彩评论