ImFusion SDK 4.3
Group Class Reference

#include <ImFusion/Core/GL/Debug.h>

The Group class allows to group a set of OpenGL calls together. More...

Detailed Description

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.

See also
GL::Debug::insertMessage()

Public Member Functions

 Group (const std::string &name)
 Pushes a new group with given name to the OpenGL command stream.
 
 ~Group ()
 Ends the group.
 

Constructor & Destructor Documentation

◆ 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.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close