Struct GLDebugGroup ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
RAII wrapper for OpenGL debug group markers.
csharp
public readonly ref struct GLDebugGroupRemarks ​
Used to annotate sections of OpenGL commands in debugging tools like RenderDoc.
Constructors ​
GLDebugGroup(string, bool) ​
Initializes a new debug group and pushes it onto the OpenGL debug stack.
csharp
public GLDebugGroup(string name, bool collapsed = false)Parameters ​
name string
Name of the debug group to display in profiling tools.
collapsed bool
Whether the timings overlay folds the groups nested in this one into it, unless it is expensive.
Methods ​
Dispose() ​
Pops the debug group from the OpenGL debug stack.
csharp
public void Dispose()
