Cogs.Rendering
Loading...
Searching...
No Matches
CommandGroupAnnotation.h
Go to the documentation of this file.
1#pragma once
2
3#include "IContext.h"
4
5namespace Cogs
6{
7 class StringView;
8
13 {
14 CommandGroupAnnotation(IContext * context, const StringView & name)
16 {
18 }
19
21 {
23 }
24
26 };
27}
Definition: Base.h:24
RAII-helper for pushCommandGroupAnnotation/pushCommandGroupAnnotation.
Definition: CommandGroupAnnotation.h:13
CommandGroupAnnotation(IContext *context, const StringView &name)
Definition: CommandGroupAnnotation.h:14
IContext * context
Definition: CommandGroupAnnotation.h:25
~CommandGroupAnnotation()
Definition: CommandGroupAnnotation.h:20
Represents a graphics device context which can receive rendering commands.
Definition: IContext.h:43
virtual void popCommandGroupAnnotation()
End to tag a sequence of commands as a group in graphics debugger.
Definition: IContext.h:67
virtual void pushCommandGroupAnnotation(const StringView &name)
Begin to tag a sequence of commands as a group in graphics debugger.
Definition: IContext.h:62