openscenegraph
|
Static Public Member Functions | |
static void | deleteFrameBufferObject (unsigned int contextID, GLuint program) |
static void | flushDeletedFrameBufferObjects (unsigned int contextID, double currentTime, double &availableTime) |
static void | discardDeletedFrameBufferObjects (unsigned int contextID) |
Protected Member Functions | |
virtual | ~FrameBufferObject () |
FrameBufferObject & | operator= (const FrameBufferObject &) |
void | updateDrawBuffers () |
void | dirtyAll () |
GLenum | convertBufferComponentToGLenum (BufferComponent attachment_point) const |
![]() | |
virtual | ~StateAttribute () |
void | addParent (osg::StateSet *object) |
void | removeParent (osg::StateSet *object) |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
![]() | |
ParentList | _parents |
ref_ptr< ShaderComponent > | _shaderComponent |
ref_ptr< StateAttributeCallback > | _updateCallback |
ref_ptr< StateAttributeCallback > | _eventCallback |
typedef std::map<Camera::BufferComponent, FrameBufferAttachment> osg::FrameBufferObject::AttachmentMap |
typedef std::vector<GLenum> osg::FrameBufferObject::MultipleRenderingTargets |
osg::FrameBufferObject::FrameBufferObject | ( | ) |
osg::FrameBufferObject::FrameBufferObject | ( | const FrameBufferObject & | copy, |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
) |
|
protectedvirtual |
apply the OpenGL state attributes. The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::StateAttribute.
void osg::FrameBufferObject::apply | ( | State & | state, |
BindTarget | target | ||
) | const |
Bind the FBO as either the read or draw target, or both.
|
virtual |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute.
|
protected |
|
static |
Mark internal FBO for deletion. Deletion requests are queued until they can be executed in the proper GL context.
|
inlineprotected |
References osg::buffered_value< T >::setAllElementsTo().
|
static |
discard all the cached FBOs which need to be deleted in the OpenGL context related to contextID.
|
static |
flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool osg::FrameBufferObject::isMultisample | ( | ) | const |
osg::FrameBufferObject::META_StateAttribute | ( | osg | , |
FrameBufferObject | , | ||
(StateAttribute::Type) | 0x101010 | ||
) |
|
inlineprotected |
|
virtual |
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. Otherwise, releases OpenGL objexts for all graphics contexts.
Reimplemented from osg::StateAttribute.
|
virtual |
Resize any per context GLObject buffers to specified size.
Reimplemented from osg::StateAttribute.
void osg::FrameBufferObject::setAttachment | ( | BufferComponent | attachment_point, |
const FrameBufferAttachment & | attachment | ||
) |
|
protected |