Add default frame submission function to base class
This commit is contained in:
parent
c5e8c178c2
commit
bb8d4c6df1
2 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue