![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Core/GL/Debug.h>
The Group class allows to group a set of OpenGL calls together. More...
The Group class allows to group a set of OpenGL calls together.
Tools like APITrace will group all OpenGL calls between the constructor and the destructor of this class. Useful to filter all OpenGL calls related to an algorithm or a render method. A Group has no effect on the actual OpenGL calls, e.g. the OpenGL state machine is completely untouched.
Public Member Functions | |
Group (const std::string &name) | |
Pushes a new group with given name to the OpenGL command stream. | |
~Group () | |
Ends the group. | |
Group | ( | const std::string & | name | ) |
Pushes a new group with given name to the OpenGL command stream.
All following OpenGL calls will be grouped together until this object is deleted. Inside the context of this group, other groups can be created.