![]() |
XII Release 0.1.0
|
Copyright (c) Theophilus Eriata. All Rights Reserved. More...
#include <ScopedDebugGroup.h>
Public Member Functions | |
| xiiGALScopedDebugGroup () noexcept | |
| Copyright (c) Theophilus Eriata. All Rights Reserved. | |
| xiiGALScopedDebugGroup (xiiGALCommandList *pCommandList, xiiStringView sName, xiiColor color=xiiColor::White) | |
| xiiGALScopedDebugGroup (xiiGALCommandList &commandList, xiiStringView sName, xiiColor color=xiiColor::White) | |
| ~xiiGALScopedDebugGroup () | |
| Destructor, automatically ends the debug group. | |
| xiiGALScopedDebugGroup (xiiGALScopedDebugGroup &&rhs) noexcept | |
| xiiGALScopedDebugGroup & | operator= (xiiGALScopedDebugGroup &&rhs) noexcept |
Copyright (c) Theophilus Eriata. All Rights Reserved.
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.
Usage example:
|
noexcept |
Copyright (c) Theophilus Eriata. All Rights Reserved.
Default constructor.
| XII_ALWAYS_INLINE xiiGALScopedDebugGroup::xiiGALScopedDebugGroup | ( | xiiGALCommandList * | pCommandList, |
| xiiStringView | sName, | ||
| xiiColor | color = xiiColor::White ) |
Constructs a debug group with the specified name and color.
| 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). |
| XII_ALWAYS_INLINE xiiGALScopedDebugGroup::xiiGALScopedDebugGroup | ( | xiiGALCommandList & | commandList, |
| xiiStringView | sName, | ||
| xiiColor | color = xiiColor::White ) |
Constructs a debug group with the specified name and color.
| commandList | - Reference 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). |
|
noexcept |
Move constructor.
| rhs | - Another debug group to move from. |
|
noexcept |
Move assignment operator.
| rhs | - Another debug group to move from. |