Blender
V3.3
|
#include <GHOST_IContext.h>
Public Member Functions | |
virtual | ~GHOST_IContext () |
virtual GHOST_TSuccess | activateDrawingContext ()=0 |
virtual GHOST_TSuccess | releaseDrawingContext ()=0 |
virtual unsigned int | getDefaultFramebuffer ()=0 |
virtual GHOST_TSuccess | swapBuffers ()=0 |
Interface for GHOST context.
You can create a off-screen context (windowless) with the system's GHOST_ISystem::createOffscreenContext method.
Definition at line 20 of file GHOST_IContext.h.
|
inlinevirtual |
Destructor.
Definition at line 25 of file GHOST_IContext.h.
|
pure virtual |
Activates the drawing context.
Implemented in GHOST_Context, GHOST_ContextWGL, GHOST_ContextSDL, GHOST_ContextNone, GHOST_ContextGLX, GHOST_ContextEGL, GHOST_ContextD3D, and GHOST_ContextCGL.
|
pure virtual |
Implemented in GHOST_ContextD3D, GHOST_ContextCGL, and GHOST_Context.
|
pure virtual |
Release the drawing context of the calling thread.
Implemented in GHOST_Context, GHOST_ContextWGL, GHOST_ContextSDL, GHOST_ContextNone, GHOST_ContextGLX, GHOST_ContextEGL, GHOST_ContextD3D, and GHOST_ContextCGL.
|
pure virtual |
Implemented in GHOST_Context, GHOST_ContextWGL, GHOST_ContextSDL, GHOST_ContextNone, GHOST_ContextGLX, GHOST_ContextEGL, GHOST_ContextD3D, and GHOST_ContextCGL.