Add default frame submission function to base class

This commit is contained in:
Sascha Willems 2020-04-19 09:17:53 +02:00
parent c5e8c178c2
commit bb8d4c6df1
2 changed files with 13 additions and 1 deletions

View file

@ -319,6 +319,9 @@ public:
// Pure virtual render function (override in derived class)
virtual void render() = 0;
/** @brief (Virtual) Default image acquire and command buffer submission function */
virtual void drawFrame();
// Called when view change occurs
// Can be overriden in derived class to e.g. update uniform buffers
// Containing view dependant matrices