HDK
|
#include <glContext.h>
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 303 of file glContext.h.
|
inline |
Definition at line 306 of file glContext.h.