|
HDK
|
#include <glContext.h>
Inheritance diagram for GlfAnyGLContextScopeHolder:Public Member Functions | |
| GlfAnyGLContextScopeHolder () | |
Helper class to make the shared GL context current if there is no valid current context, or when the current context isn't sharing with the shared context. This mechanism lets us skip context switches to the shared context (see GlfSharedGLContextScopeHolder) when possible, while ensuring that we have a valid GL context prior to any resource allocation or destruction.
Example:
Definition at line 286 of file glContext.h.
|
inline |
Definition at line 289 of file glContext.h.