Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what are the difference of between glGenBuffers and glGenFramebuffers and glGenRenderbuffers

the description of them in http://www.khronos.org/opengles/sdk/docs/man/ are almost same. The only difference is the name

like image 485
ATNASGDWNGTH Avatar asked Jun 16 '12 08:06

ATNASGDWNGTH


1 Answers

glGenBuffers creates regular buffers for vertex data, etc.

glGenFrameBuffers creates a framebuffer object primarily used as render targets for offscreen rendering.

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

like image 171
rivaldo4t Avatar answered Jan 02 '23 13:01

rivaldo4t