When i create my own framebuffer this is the process
glGenerateBuffers() // generate a buffer
glCreateTextures() // create a texture
bind the texture to the buffer
once we have rendered in the framebuffer we can use the texture.
Do we have a texture available for the default framebuffer and can we access it ?
glGenerateBuffers
That is not an OpenGL function. You might have meantglGenBuffers
, but those generate buffer objects, which have nothing to do with framebuffers.