]> git.tdb.fi Git - libs/gl.git/blob - source/core/commands.h
Check the flat qualifier from the correct member
[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::begin_frame;
18         using CommandsBackend::submit_frame;
19
20         using CommandsBackend::use_pipeline;
21
22         using CommandsBackend::clear;
23         using CommandsBackend::draw;
24         using CommandsBackend::draw_instanced;
25         using CommandsBackend::resolve_multisample;
26
27         using CommandsBackend::begin_query;
28         using CommandsBackend::end_query;
29 };
30
31 } // namespace GL
32 } // namespace Msp
33
34 #endif