Blender
V3.3
intern
ghost
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
20
class
GHOST_IContext
{
21
public
:
25
virtual
~GHOST_IContext
()
26
{
27
}
28
33
virtual
GHOST_TSuccess
activateDrawingContext
() = 0;
34
39
virtual
GHOST_TSuccess
releaseDrawingContext
() = 0;
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_Types.h
GHOST_TSuccess
GHOST_TSuccess
Definition:
GHOST_Types.h:74
GHOST_IContext
Definition:
GHOST_IContext.h:20
GHOST_IContext::releaseDrawingContext
virtual GHOST_TSuccess releaseDrawingContext()=0
GHOST_IContext::~GHOST_IContext
virtual ~GHOST_IContext()
Definition:
GHOST_IContext.h:25
GHOST_IContext::activateDrawingContext
virtual GHOST_TSuccess activateDrawingContext()=0
GHOST_IContext::swapBuffers
virtual GHOST_TSuccess swapBuffers()=0
GHOST_IContext::getDefaultFramebuffer
virtual unsigned int getDefaultFramebuffer()=0
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1