What is the difference between glGenBuffers and glGenFramebuffers and glGenRenderbuffers

their description at http://www.khronos.org/opengles/sdk/docs/man/ is almost the same. The only difference is the name

+4
source share
2 answers

There is a difference between regular old buffers and frame buffers and rendering buffers ( used in frame-by-frame rendering ). The general functionality of these "glGen__" functions is the same, but they simply generate different types of buffer object names.

0
source

glGenBuffers creates regular buffers for vertex data, etc.

glGenFrameBuffers creates a framebuffer object, used primarily for rendering purposes.

glGenRenderBuffers creates a renderbuffer object that is specifically used with framebuffer objects for any required depth testing.

+3
source

All Articles