Struct GLDebugGroup
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
RAII wrapper for OpenGL debug group markers.
public ref struct GLDebugGroupInherited Members
Remarks
Used to annotate sections of OpenGL commands in debugging tools like RenderDoc. Only active in DEBUG builds.
Constructors
GLDebugGroup(string)
Initializes a new debug group and pushes it onto the OpenGL debug stack.
public GLDebugGroup(string name)Parameters
namestring-
Name of the debug group to display in profiling tools.
Methods
Dispose()
Pops the debug group from the OpenGL debug stack.
public readonly void Dispose()