Vuo
2.4.0
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
VuoGlContext_setInfoLogging
(
bool
enabled);
46
47
void
_VGL(CGLContextObj cgl_ctx,
const
char
*file,
const
unsigned
int
linenumber,
const
char
*func);
48
64
#define VGL() _VGL(cgl_ctx, __FILE__, __LINE__, __func__);
65
66
#ifdef __cplusplus
67
}
68
#endif
Generated on Wed Nov 24 2021 15:28:15 for Vuo by
1.9.2