Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 counterparts 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?

like image 887
sigjuice Avatar asked Jul 17 '10 18:07

sigjuice


1 Answers

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.

like image 72
Pivot Avatar answered Nov 14 '22 23:11

Pivot