UI overlay creation via create info structure with additional customization options

This commit is contained in:
saschawillems 2017-11-03 11:17:09 +01:00
parent a789240567
commit 4e5d95c098
4 changed files with 127 additions and 93 deletions

View file

@ -392,6 +392,8 @@ public:
// Submit the frames' workload
void submitFrame();
/** @brief (Virtual) Called before the UI overlay is created, can be used to do a custom setup e.g. with different renderpass */
virtual void OnSetupUIOverlay(vks::UIOverlayCreateInfo &createInfo);
/** @brief (Virtual) Called when the UI overlay is updating, can be used to add custom elements to the overlay */
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay);
};