A helper class for managing debug groups in a command list.
More...
#include <ScopedDebugGroup.h>
|
static const xiiRTTI * | GetStaticRTTI () |
|
A helper class for managing debug groups in a command list.
This class allows developers to create scoped debug groups, which can be useful for debugging and profiling graphics commands. When instantiated, it marks the beginning of a debug group, and when destroyed, it marks the end.
- Note
- This class ensures that debug groups are properly created and closed within the scope they are used.
Usage example:
{
}
static const xiiColor Red
#FF0000
Definition Color.h:170
xiiGALScopedDebugGroup() noexcept
Default constructor.
Definition ScopedDebugGroup_inl.h:2
◆ xiiGALScopedDebugGroup() [1/3]
XII_ALWAYS_INLINE xiiGALScopedDebugGroup::xiiGALScopedDebugGroup |
( |
| ) |
|
|
noexcept |
Default constructor.
- Note
- Initializes an empty debug group.
◆ xiiGALScopedDebugGroup() [2/3]
Constructs a debug group with the specified name and color.
- Parameters
-
pCommandList | - Pointer to the command list where the debug group is applied. |
sName | - Name of the debug group for debugging and profiling purposes. |
color | - Color used for visual representation (defaults to black). |
◆ xiiGALScopedDebugGroup() [3/3]
Move constructor.
- Parameters
-
rhs | - Another debug group to move from. |
◆ operator=()
Move assignment operator.
- Parameters
-
rhs | - Another debug group to move from. |
- Returns
- Reference to this object.
The documentation for this class was generated from the following files: