|
Public Types |
typedef std::map< GLenum,
FrameBufferAttachment > | AttachmentMap |
Public Member Functions |
| FrameBufferObject () |
| FrameBufferObject (const FrameBufferObject ©, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| META_StateAttribute (osg, FrameBufferObject,(StateAttribute::Type) 0x101010) |
const AttachmentMap & | getAttachmentMap () const |
bool | hasAttachment (GLenum attachment_point) const |
const FrameBufferAttachment & | getAttachment (GLenum attachment_point) const |
void | setAttachment (GLenum attachment_point, const FrameBufferAttachment &attachment) |
int | compare (const StateAttribute &sa) const |
| Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
|
void | apply (State &state) const |
| apply the OpenGL state attributes.
|
Static Public Member Functions |
void | deleteFrameBufferObject (unsigned int contextID, GLuint program) |
| Mark internal FBO for deletion.
|
void | flushDeletedFrameBufferObjects (unsigned int contextID, double currentTime, double &availableTime) |
| flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID.
|
Protected Member Functions |
virtual | ~FrameBufferObject () |
FrameBufferObject & | operator= (const FrameBufferObject &) |
void | dirtyAll () |