HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GlfGLRawContext Class Reference

#include <glRawContext.h>

+ Inheritance diagram for GlfGLRawContext:

Public Member Functions

virtual GLF_API ~GlfGLRawContext ()
 
const GarchGLPlatformContextStateGetState () const
 Returns the held state. More...
 
virtual GLF_API bool IsValid () const
 Returns true if this context is valid. More...
 
- Public Member Functions inherited from GlfGLContext
virtual GLF_API ~GlfGLContext ()
 
 GlfGLContext (const GlfGLContext &)=delete
 
GlfGLContextoperator= (const GlfGLContext &)=delete
 
GLF_API bool IsCurrent () const
 Returns true if this context is current. More...
 
GLF_API bool IsSharing (GlfGLContextSharedPtr const &otherContext)
 Returns true if this context is sharing with otherContext. More...
 
virtual GlfGLContextSharedPtr CreateSharingContext ()
 

Static Public Member Functions

static GLF_API
GlfGLRawContextSharedPtr 
New ()
 Returns a new object with the current context. More...
 
static GLF_API
GlfGLRawContextSharedPtr 
New (const GarchGLPlatformContextState &)
 Returns a new object with the given state. More...
 
- Static Public Member Functions inherited from GlfGLContext
static GLF_API
GlfGLContextSharedPtr 
GetCurrentGLContext ()
 Returns an instance for the current GL context. More...
 
static GLF_API
GlfGLContextSharedPtr 
GetSharedGLContext ()
 Returns an instance for the shared GL context. More...
 
static GLF_API void MakeCurrent (const GlfGLContextSharedPtr &context)
 Makes context current if valid, otherwise makes no context current. More...
 
static GLF_API bool AreSharing (GlfGLContextSharedPtr const &context1, GlfGLContextSharedPtr const &context2)
 Returns true if context1 and context2 are sharing. More...
 
static GLF_API bool IsInitialized ()
 Returns whether this interface has been initialized. More...
 
static GLF_API void DoneCurrent ()
 Makes no context current. More...
 

Protected Member Functions

virtual GLF_API void _MakeCurrent ()
 Makes this context current. More...
 
virtual GLF_API bool _IsSharing (const GlfGLContextSharedPtr &rhs) const
 Returns true if this context is sharing with rhs. More...
 
virtual GLF_API bool _IsEqual (const GlfGLContextSharedPtr &rhs) const
 Returns true if this context is equal to rhs. More...
 
- Protected Member Functions inherited from GlfGLContext
GLF_API GlfGLContext ()
 

Detailed Description

Definition at line 41 of file glRawContext.h.

Constructor & Destructor Documentation

virtual GLF_API GlfGLRawContext::~GlfGLRawContext ( )
virtual

Member Function Documentation

virtual GLF_API bool GlfGLRawContext::_IsEqual ( const GlfGLContextSharedPtr rhs) const
protectedvirtual

Returns true if this context is equal to rhs.

Implements GlfGLContext.

virtual GLF_API bool GlfGLRawContext::_IsSharing ( const GlfGLContextSharedPtr rhs) const
protectedvirtual

Returns true if this context is sharing with rhs.

Implements GlfGLContext.

virtual GLF_API void GlfGLRawContext::_MakeCurrent ( )
protectedvirtual

Makes this context current.

Implements GlfGLContext.

const GarchGLPlatformContextState& GlfGLRawContext::GetState ( ) const
inline

Returns the held state.

Definition at line 55 of file glRawContext.h.

virtual GLF_API bool GlfGLRawContext::IsValid ( ) const
virtual

Returns true if this context is valid.

Implements GlfGLContext.

static GLF_API GlfGLRawContextSharedPtr GlfGLRawContext::New ( )
static

Returns a new object with the current context.

static GLF_API GlfGLRawContextSharedPtr GlfGLRawContext::New ( const GarchGLPlatformContextState )
static

Returns a new object with the given state.


The documentation for this class was generated from the following file: