glCreateFramebuffers

From OpenGL Reference
Jump to navigation Jump to search

Create framebuffer objects.

C Specification[edit]

void glCreateFramebuffers( GLsizei n, GLuint * framebuffers );


Parameters[edit]

n - Number of framebuffer objects to create.
framebuffers - Specifies an array in which names of the new framebuffer objects are stored.


Description[edit]

 glCreateFramebuffers returns n previously unused framebuffer names in framebuffers , each representing a new framebuffer object initialized to the default state.


Errors[edit]

 GL_INVALID_VALUE is generated if n is negative.


Version Support[edit]

 glCreateFramebuffers  4.5+

See Also[edit]

 glGenFramebuffers , glBindFramebuffer , glFramebufferRenderbuffer , glFramebufferTexture , glFramebufferTexture1D , glFramebufferTexture2D , glFramebufferTexture3D , glFramebufferTextureLayer , glDeleteFramebuffers , glIsFramebuffer 


Copyright[edit]

Copyright© 2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.