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