8 #ifndef META_OCEAN_PLATFORM_GL_CONTEXT_ASSOCIATED_H
9 #define META_OCEAN_PLATFORM_GL_CONTEXT_ASSOCIATED_H
60 inline bool hasContext()
const;
82 associatedContext_(&context)
This class implements the base class for all object which have an associated context.
Definition: ContextAssociated.h:31
ContextAssociated()=default
Creates a new object without associated context.
Context * associatedContext_
The OpenGL context which is associated with this framebuffer.
Definition: ContextAssociated.h:78
bool hasContext() const
Returns whether this object has a valid associated context.
Definition: ContextAssociated.h:94
virtual ~ContextAssociated()
Destructs this object.
Context & context()
Returns the associated context of this object.
Definition: ContextAssociated.h:87
virtual bool setContext(Context &context)
Sets the context of this object.
This class encapsulates an OpenGL context.
Definition: platform/gl/Context.h:29
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15