glbinding  2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
CallbackMask.h
Go to the documentation of this file.
1
2#pragma once
3
4#include <glbinding/glbinding_api.h>
5
6
7namespace glbinding
8{
9
10
15enum class CallbackMask : unsigned char
16{
17 None = 0,
18 Unresolved = 1 << 0,
19 Before = 1 << 1,
20 After = 1 << 2,
21 Parameters = 1 << 3,
22 ReturnValue = 1 << 4,
23 Logging = 1 << 5,
26};
27
39
53
67
81
95
109
123
124
125} // namespace glbinding
Contains all the classes of glbinding.
GLBINDING_API CallbackMask operator^(CallbackMask a, CallbackMask b)
External operator for bit-wise 'xor' of CallbackMasks.
GLBINDING_API CallbackMask & operator|=(CallbackMask &a, CallbackMask b)
External operator for bit-wise 'or' assignment of CallbackMasks.
GLBINDING_API CallbackMask & operator^=(CallbackMask &a, CallbackMask b)
External operator for bit-wise 'xor' assignment of CallbackMasks.
GLBINDING_API CallbackMask operator&(CallbackMask a, CallbackMask b)
External operator for bit-wise 'and' of CallbackMasks.
GLBINDING_API CallbackMask operator~(CallbackMask a)
External operator for bit-wise CallbackMask inverting.
GLBINDING_API CallbackMask operator|(CallbackMask a, CallbackMask b)
External operator for bit-wise 'or' of CallbackMasks.
GLBINDING_API CallbackMask & operator&=(CallbackMask &a, CallbackMask b)
External operator for bit-wise 'and' assignment of CallbackMasks.
CallbackMask
The CallbackMask is a bitfield to encode the states of callbacks and logging for the OpenGL API funct...
Definition CallbackMask.h:16
@ Parameters
Enables the provision of parameter values in the before and after callbacks.
@ Unresolved
Enables the callback for unresolved function calls.
@ None
All callbacks and logging is disabled.
@ After
Enables the after callbacks.
@ Logging
Enables logging to file.
@ Before
Enables the before callbacks.
@ ReturnValue
Enables the provision of a return value in the after callback.