HDK
|
#include <glContext.h>
Public Member Functions | |
virtual GLF_API | ~GlfGLContextRegistrationInterface () |
GlfGLContextRegistrationInterface (const GlfGLContextRegistrationInterface &)=delete | |
GlfGLContextRegistrationInterface & | operator= (const GlfGLContextRegistrationInterface &)=delete |
virtual GlfGLContextSharedPtr | GetShared ()=0 |
virtual GlfGLContextSharedPtr | GetCurrent ()=0 |
Protected Member Functions | |
GLF_API | GlfGLContextRegistrationInterface () |
Interface for registering a GlfGLContext system.
If you subclass GlfGLContext you should subclass this type and instantiate an instance on the heap. It will be cleaned up automatically.
Definition at line 335 of file glContext.h.
|
virtual |
|
delete |
|
protected |
|
pure virtual |
Whatever your GLContext system thinks is the current GL context may not really be the current context if another system has since changed the context. This method should return what it thinks is the current context. If it thinks there is no current context it should return NULL
.
|
pure virtual |
If this GLContext system supports a shared context this should return it. This will be called at most once.
|
delete |