 |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Go to the documentation of this file.
8 #include <glbinding/glbinding_api.h>
15 class AbstractFunction;
77 std::string toString()
const;
std::vector< AbstractValue * > createValues(Arguments &&... arguments)
A wrapper around the creation of a vector of arguments.
Definition: Value.inl:66
GLBINDING_API void setBeforeCallback(FunctionCallback callback)
Updates the before callback that is called before the actual OpenGL function invocation.
@ ReturnValue
Enables the provision of a return value in the after callback.
GLBINDING_API void setAfterCallback(FunctionCallback callback)
typename CallbackType< void, Arguments... >::type AfterCallback
The callback type for the after callback.
Definition: Function.h:68
std::vector< AbstractValue * > parameters
The list of parameter values; doesn't have to be filled.
Definition: FunctionCall.h:83
Definition: ContextInfo.h:10
std::chrono::system_clock::time_point timestamp
The time of the call.
Definition: FunctionCall.h:81
GLBINDING_API FunctionCallback beforeCallback()
Before callback accessor.
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type.
Definition: AbstractValue.h:20
@ Parameters
Enables the provision of parameter values in the before and after callbacks.
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition: FunctionCall.h:22
GLBINDING_API void log(LogEntry call)
Add a function call to the log.
AbstractValue * createValue(const Argument &argument)
A wrapper around the type deduction and memory allocation of a specific argument.
Definition: Value.inl:60
Function(const char *name)
Constructor.
Definition: Function.inl:138
GLBINDING_API FunctionCallback afterCallback()
After callback accessor.
@ After
Enables the after callbacks.
@ Logging
Enables logging to file.
Contains all the classes of glbinding.
The AbstractFunction represents an OpenGL API function.
Definition: AbstractFunction.h:23
@ Before
Enables the before callbacks.
The Function represents an OpenGL API function with additional features, including:
Definition: Function.h:62
typename CallbackType< void, Arguments... >::type BeforeCallback
The callback type for the before callback.
Definition: Function.h:67
AbstractValue * returnValue
The return value; doesn't have to be filled.
Definition: FunctionCall.h:84