glbinding
2.0.0.00e2ff521289
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Typedefs | |
using | LogEntry = FunctionCall * |
The type of an entry in the log buffer is a FunctionCall *. More... | |
Functions | |
GLBINDING_API void | resize (unsigned int newSize) |
Resizes the global log buffer. More... | |
GLBINDING_API void | start () |
Start logging to a file globally. More... | |
GLBINDING_API void | start (const std::string &filepath) |
Start logging to a file globally. More... | |
GLBINDING_API void | startExcept (const std::set< std::string > &blackList) |
Start logging to a file globally, except for blacklisted functions. More... | |
GLBINDING_API void | startExcept (const std::string &filepath, const std::set< std::string > &blackList) |
Start logging to a file globally, except for blacklisted functions. More... | |
GLBINDING_API void | stop () |
Stops logging and flushing log file. More... | |
GLBINDING_API void | pause () |
Pauses logging for later stopping or resuming. More... | |
GLBINDING_API void | resume () |
Resumes paused logging. More... | |
GLBINDING_API void | log (LogEntry call) |
Add a function call to the log. More... | |
using glbinding::logging::LogEntry = typedef FunctionCall* |
The type of an entry in the log buffer is a FunctionCall *.
GLBINDING_API void glbinding::logging::resize | ( | unsigned int | newSize | ) |
Resizes the global log buffer.
[in] | newSize | The new size of the buffer. |
GLBINDING_API void glbinding::logging::start | ( | ) |
Start logging to a file globally.
This function generates a file name and uses this as output.
GLBINDING_API void glbinding::logging::start | ( | const std::string & | filepath | ) |
Start logging to a file globally.
[in] | filepath | The file to store the log into. |
GLBINDING_API void glbinding::logging::startExcept | ( | const std::set< std::string > & | blackList | ) |
Start logging to a file globally, except for blacklisted functions.
blackList | The blacklist of function names. |
This function generates a file name and uses this as output.
GLBINDING_API void glbinding::logging::startExcept | ( | const std::string & | filepath, |
const std::set< std::string > & | blackList | ||
) |
Start logging to a file globally, except for blacklisted functions.
[in] | filepath | The file to store the log into. |
blackList | The blacklist of function names. |
GLBINDING_API void glbinding::logging::stop | ( | ) |
Stops logging and flushing log file.
GLBINDING_API void glbinding::logging::pause | ( | ) |
Pauses logging for later stopping or resuming.
While logging is started but paused, no OpenGL function calls are considered for the log file.
GLBINDING_API void glbinding::logging::resume | ( | ) |
Resumes paused logging.
GLBINDING_API void glbinding::logging::log | ( | LogEntry | call | ) |
Add a function call to the log.
This function is intended to get used by glbinding and not by a user of glbinding.