Vuo
2.3.2
library
VuoGlContext.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoMacOSSDKWorkaround.h
"
13
#include <OpenGL/OpenGL.h>
14
15
#ifdef __cplusplus
16
extern
"C"
17
{
18
#endif
19
23
typedef
void
*
VuoGlContext
;
24
25
int
VuoGlContext_getMaximumSupportedMultisampling
(
VuoGlContext
context);
26
27
void
VuoGlContext_setGlobalRootContext
(
void
*rootContext);
28
29
VuoGlContext
VuoGlContext_use
(
void
);
30
31
void
VuoGlContext_perform
(
void
(^
function
)(CGLContextObj cgl_ctx));
32
33
void
VuoGlContext_disuseF
(
VuoGlContext
glContext,
const
char
*file,
const
unsigned
int
linenumber,
const
char
*func);
39
#define VuoGlContext_disuse(glContext) VuoGlContext_disuseF(glContext, __FILE__, __LINE__, __func__)
40
41
void
*
VuoGlContext_makePlatformPixelFormat
(
bool
hasDepthBuffer,
bool
openGL32Core, GLint displayMask);
42
43
bool
VuoGlContext_isOpenGL32Core
(
VuoGlContext
context);
44
45
void
_VGL(CGLContextObj cgl_ctx,
const
char
*file,
const
unsigned
int
linenumber,
const
char
*func);
46
62
#define VGL() _VGL(cgl_ctx, __FILE__, __LINE__, __func__);
63
64
#ifdef __cplusplus
65
}
66
#endif
Generated on Sat Jun 19 2021 10:17:44 for Vuo by
1.9.1