1 #ifndef FRAMEBUFFEROBJECT_H 2 #define FRAMEBUFFEROBJECT_H 85 GLuint vec_textures[2];
87 void init(
int width,
int height,
89 GLenum internal_format, GLenum target,
90 GLint samples = 0,
bool mipmap =
false);
GLuint getTexture() const
gets the texture bound to the FBO.
GLuint getFbo() const
gets the Fbo name.
void resizing(int width, int height)
resizing FrameBufferObject dimensions ... It does not work!!!! (Ting)
Attachment
constructs a FrameBufferObject without arguments
GLuint getDepthTexture() const
gets the depth texture bound to the FBO.
bool binding()
binds the FBO to the framebuffer target.
bool releasing()
releases the FBO from the framebuffer target.