Added FRAME_BUFFER_OBJECT enum

This commit is contained in:
Robert Osfield 2013-07-22 10:15:59 +00:00
parent 95d5a19319
commit a802729562
2 changed files with 5 additions and 3 deletions

View File

@ -400,7 +400,7 @@ namespace osg
FrameBufferObject();
FrameBufferObject(const FrameBufferObject& copy, const CopyOp& copyop = CopyOp::SHALLOW_COPY);
META_StateAttribute(osg, FrameBufferObject, (StateAttribute::Type)0x101010/*FrameBufferObject*/);
META_StateAttribute(osg, FrameBufferObject, FRAME_BUFFER_OBJECT);
inline const AttachmentMap& getAttachmentMap() const;

View File

@ -192,8 +192,10 @@ class OSG_EXPORT StateAttribute : public Object
TRANSFORMFEEDBACKBUFFERBINDING,
ATOMICCOUNTERBUFFERBINDING,
PATCH_PARAMETER
PATCH_PARAMETER,
FRAME_BUFFER_OBJECT
};
/** Simple pairing between an attribute type and the member within that attribute type group.*/