25 #ifndef __glfFramebufferObject_hh__
26 #define __glfFramebufferObject_hh__
28 #include "glfTexture.hh"
29 #include "glfRenderbuffer.hh"
30 #include "glfRenderTarget.hh"
31 #include "glfException.hh"
66 GLenum attachmentPoint,
67 int attachedMipMapLevel = 0,
69 GLenum cubeMapSide = 0);
76 GLenum attachmentPoint);
81 void ReleaseAttachment(GLenum attachmentPoint);
83 void SetDrawBuffers(
const std::vector<GLenum>& drawbuffers);
84 void ResetDrawBuffers();
91 void CheckComplete()
const;
94 virtual void Bind()
const;
96 static GLint MaxRenderTargets();
118 GLbitfield bufferMask);
120 void GetSize(GLint& width, GLint& height);
134 GLbitfield bufferMask,
138 GLsizei numSimultaneousDrawBuffers_;
139 GLenum* listOfSimultaneousDrawBuffers_;
140 bool FramebufferCreated_;
157 #endif // __glfFramebufferObject_hh__
Interface for render targets.