Blender  V3.3
GHOST_IContext.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
9 #pragma once
10 
11 #include "GHOST_Types.h"
12 
21  public:
25  virtual ~GHOST_IContext()
26  {
27  }
28 
34 
40 
41  virtual unsigned int getDefaultFramebuffer() = 0;
42 
43  virtual GHOST_TSuccess swapBuffers() = 0;
44 
45 #ifdef WITH_CXX_GUARDEDALLOC
46  MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IContext")
47 #endif
48 };
GHOST_TSuccess
Definition: GHOST_Types.h:74
virtual GHOST_TSuccess releaseDrawingContext()=0
virtual ~GHOST_IContext()
virtual GHOST_TSuccess activateDrawingContext()=0
virtual GHOST_TSuccess swapBuffers()=0
virtual unsigned int getDefaultFramebuffer()=0