]> git.tdb.fi Git - libs/gl.git/blob - source/core/commands.h
Fix a name conflict in certain inlining scenarios
[libs/gl.git] / source / core / commands.h
1 #ifndef MSP_GL_COMMANDS_H_
2 #define MSP_GL_COMMANDS_H_
3
4 #include "commands_backend.h"
5
6 namespace Msp {
7 namespace GL {
8
9 /**
10 Interface for low-level graphics commands.
11
12 Applications normally use the higher-level Renderer class rather than this.
13 */
14 class Commands: public CommandsBackend
15 {
16 public:
17         using CommandsBackend::use_pipeline;
18
19         using CommandsBackend::clear;
20         using CommandsBackend::draw;
21         using CommandsBackend::draw_instanced;
22         using CommandsBackend::resolve_multisample;
23
24         using CommandsBackend::begin_query;
25         using CommandsBackend::end_query;
26 };
27
28 } // namespace GL
29 } // namespace Msp
30
31 #endif