X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fcommands.h;h=793b258901b0b706482cc3cf72a5ed2c1caa0448;hb=cebf1330ef6773b7b4496dc279ec02a7ca4351bb;hp=869c41b615ea9f66a206156c37e7c586a7157971;hpb=160e9eea29bd10034733d59507fa1bcca36be401;p=libs%2Fgl.git diff --git a/source/core/commands.h b/source/core/commands.h index 869c41b6..793b2589 100644 --- a/source/core/commands.h +++ b/source/core/commands.h @@ -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;