]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/commands.h
Support compute shaders and compute operations
[libs/gl.git] / source / core / commands.h
index 869c41b615ea9f66a206156c37e7c586a7157971..793b258901b0b706482cc3cf72a5ed2c1caa0448 100644 (file)
@@ -6,14 +6,23 @@
 namespace Msp {
 namespace GL {
 
+/**
+Interface for low-level graphics commands.
+
+Applications normally use the higher-level Renderer class rather than this.
+*/
 class Commands: public CommandsBackend
 {
 public:
+       using CommandsBackend::begin_frame;
+       using CommandsBackend::submit_frame;
+
        using CommandsBackend::use_pipeline;
 
        using CommandsBackend::clear;
        using CommandsBackend::draw;
        using CommandsBackend::draw_instanced;
+       using CommandsBackend::dispatch;
        using CommandsBackend::resolve_multisample;
 
        using CommandsBackend::begin_query;